Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009574/0.0009575, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 115.5 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07052/0.07081, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.279, allocations: 83.55 MB / 438.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.2793, allocations: 88.14 kB / 438.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.3974, allocations: 53.81 MB / 492.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3975, allocations: 0 / 492.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001847/0.3976, allocations: 63.94 kB / 492.6 MB, free: 2.301 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007702/0.4054, allocations: 2.957 MB / 495.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4054, allocations: 12.03 kB / 495.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.4084, allocations: 0.6015 MB / 496.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.4124, allocations: 1.826 MB / 498 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.4126, allocations: 197.3 kB / 498.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.4132, allocations: 267.9 kB / 498.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/0.4196, allocations: 3.552 MB / 0.4902 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.4197, allocations: 0 / 0.4902 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.42, allocations: 116 kB / 0.4903 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/0.4201, allocations: 105.4 kB / 0.4904 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/0.4252, allocations: 2.914 MB / 0.4933 GB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.4416, allocations: 10.51 MB / 0.5035 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.4464, allocations: 4.688 MB / 0.5081 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004154/0.4506, allocations: 2.515 MB / 0.5106 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4507, allocations: 55.55 kB / 0.5106 GB, free: 2.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 2.715e-06/0.4507, allocations: 4 kB / 0.5106 GB, free: 2.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.1509/0.6016, allocations: 2.777 MB / 0.5133 GB, free: 94.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.6016, allocations: 91.05 kB / 0.5134 GB, free: 94.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.6036, allocations: 1.201 MB / 0.5146 GB, free: 93.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.6038, allocations: 44.98 kB / 0.5146 GB, free: 93.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.6044, allocations: 1.153 MB / 0.5158 GB, free: 93.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.6046, allocations: 369.9 kB / 0.5161 GB, free: 93.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.6047, allocations: 22.97 kB / 0.5161 GB, free: 93.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.6048, allocations: 360.5 kB / 0.5165 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/0.6057, allocations: 0.6058 MB / 0.5171 GB, free: 93.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.6067, allocations: 0.8552 MB / 0.5179 GB, free: 92.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/0.6075, allocations: 0.7389 MB / 0.5186 GB, free: 92.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6076, allocations: 0.8125 kB / 0.5186 GB, free: 92.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002604/0.6102, allocations: 2.025 MB / 0.5206 GB, free: 92.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6102, allocations: 7.875 kB / 0.5206 GB, free: 92.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6102, allocations: 7.312 kB / 0.5206 GB, free: 92.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.611, allocations: 402 kB / 0.521 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.6118, allocations: 225.3 kB / 0.5212 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/0.6172, allocations: 6.234 MB / 0.5273 GB, free: 89.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.6179, allocations: 146.2 kB / 0.5274 GB, free: 89.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.337e-05/0.618, allocations: 46.53 kB / 0.5275 GB, free: 89.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.6192, allocations: 0.8619 MB / 0.5283 GB, free: 89.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6194, allocations: 136.8 kB / 0.5285 GB, free: 89.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.6221, allocations: 1.765 MB / 0.5302 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.6221, allocations: 10.66 kB / 0.5302 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.6221, allocations: 8.531 kB / 0.5302 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.6221, allocations: 7.516 kB / 0.5302 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.6279, allocations: 4.121 MB / 0.5342 GB, free: 89.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.628, allocations: 1.25 kB / 0.5342 GB, free: 89.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.6286, allocations: 147.5 kB / 0.5344 GB, free: 89.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007986/0.6294, allocations: 396.3 kB / 0.5347 GB, free: 89.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.6295, allocations: 38.92 kB / 0.5348 GB, free: 89.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.6357, allocations: 6.211 MB / 0.5409 GB, free: 86.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6357, allocations: 6.188 kB / 0.5409 GB, free: 86.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.6395, allocations: 2.716 MB / 0.5435 GB, free: 85.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.6399, allocations: 239.5 kB / 0.5437 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.6401, allocations: 33.7 kB / 0.5438 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.6409, allocations: 102.2 kB / 0.5439 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.6411, allocations: 98.7 kB / 0.544 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.6412, allocations: 33.39 kB / 0.544 GB, free: 85.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.6425, allocations: 0.9295 MB / 0.5449 GB, free: 85.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6425, allocations: 3.281 kB / 0.5449 GB, free: 85.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0023/0.6448, allocations: 0.6828 MB / 0.5456 GB, free: 85.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003709/0.6452, allocations: 173 kB / 0.5457 GB, free: 84.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.6485, allocations: 1.864 MB / 0.5476 GB, free: 84.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6485, allocations: 5.203 kB / 0.5476 GB, free: 84.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.6504, allocations: 1.178 MB / 0.5487 GB, free: 83.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6516, allocations: 280.8 kB / 0.549 GB, free: 83.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/0.6586, allocations: 5.562 MB / 0.5544 GB, free: 80.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.6601, allocations: 2.237 MB / 0.5566 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009866/0.6611, allocations: 352.3 kB / 0.5569 GB, free: 79.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.6613, allocations: 82.06 kB / 0.557 GB, free: 79.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6613, allocations: 0 / 0.557 GB, free: 79.45 MB / 394.7 MB Notification: Performance of Templates: time 0.02567/0.687, allocations: 19.42 MB / 0.576 GB, free: 78.37 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)