Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001461/0.001461, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001613, allocations: 118.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 7.984 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06381/0.06385, allocations: 38.76 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.2971, allocations: 70.77 MB / 378.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.2974, allocations: 82.02 kB / 378.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02182/0.3192, allocations: 8.965 MB / 387.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3192, allocations: 0 / 387.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.3193, allocations: 15.92 kB / 387.5 MB, free: 14.05 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00113/0.3204, allocations: 0.6141 MB / 388.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3204, allocations: 8.031 kB / 388.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3207, allocations: 59.33 kB / 388.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.3212, allocations: 290.5 kB / 388.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3212, allocations: 24.17 kB / 388.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3213, allocations: 35.5 kB / 388.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3218, allocations: 298.6 kB / 388.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3218, allocations: 0 / 388.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3218, allocations: 11.06 kB / 388.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3219, allocations: 12 kB / 388.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3222, allocations: 184.2 kB / 389 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3242, allocations: 1.326 MB / 390.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3245, allocations: 135.7 kB / 390.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.3246, allocations: 57.23 kB / 390.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3246, allocations: 3.875 kB / 390.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3247, allocations: 30.56 kB / 390.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.644e-06/0.3247, allocations: 4 kB / 390.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002975/0.325, allocations: 131.9 kB / 390.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.325, allocations: 81.11 kB / 390.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3253, allocations: 249.3 kB / 391 MB, free: 10.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3253, allocations: 25.7 kB / 391 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3255, allocations: 229.8 kB / 391.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3255, allocations: 43.11 kB / 391.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.3255, allocations: 7.875 kB / 391.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3257, allocations: 338.3 kB / 391.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.3257, allocations: 43.31 kB / 391.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3259, allocations: 152.7 kB / 391.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.326, allocations: 82.88 kB / 391.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3261, allocations: 0 / 391.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003458/0.3264, allocations: 246.8 kB / 392.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3264, allocations: 12.17 kB / 392.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3265, allocations: 4 kB / 392.1 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3265, allocations: 7.938 kB / 392.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3267, allocations: 67.78 kB / 392.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3268, allocations: 4 kB / 392.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3269, allocations: 39.42 kB / 392.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.327, allocations: 12.09 kB / 392.3 MB, free: 9.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.3271, allocations: 120.6 kB / 392.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.3271, allocations: 27.72 kB / 392.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.3272, allocations: 37.31 kB / 392.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3272, allocations: 0 / 392.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3272, allocations: 4 kB / 392.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3272, allocations: 0 / 392.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.3278, allocations: 495.4 kB / 392.9 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3278, allocations: 3.953 kB / 392.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.328, allocations: 39.97 kB / 393 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.328, allocations: 0 / 393 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3281, allocations: 6.812 kB / 393 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3281, allocations: 0 / 393 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3281, allocations: 0 / 393 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3285, allocations: 387.6 kB / 393.4 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.3286, allocations: 112.8 kB / 393.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3286, allocations: 7.375 kB / 393.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3288, allocations: 20.05 kB / 393.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3289, allocations: 7.984 kB / 393.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3289, allocations: 7.25 kB / 393.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.3291, allocations: 187.8 kB / 393.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3291, allocations: 0 / 393.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.3294, allocations: 70.59 kB / 393.8 MB, free: 8.219 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.3296, allocations: 134.9 kB / 393.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3299, allocations: 138.7 kB / 394 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3299, allocations: 4 kB / 394 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.33, allocations: 51.88 kB / 394.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3303, allocations: 30.28 kB / 394.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.3311, allocations: 450.4 kB / 394.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3314, allocations: 0.7755 MB / 395.3 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.3316, allocations: 26.06 kB / 395.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3316, allocations: 24.12 kB / 395.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3316, allocations: 0 / 395.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Templates: time 0.005288/0.3369, allocations: 2.126 MB / 397.5 MB, free: 4.52 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)