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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108.4 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 198.8 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 43.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09916, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2119/0.3111, allocations: 7.196 MB / 381.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004833/0.3159, allocations: 2.232 MB / 383.9 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3171, allocations: 49.03 kB / 384 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3182, allocations: 443.6 kB / 384.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.3208, allocations: 0.872 MB / 385.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.3217, allocations: 380.9 kB / 385.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.3258, allocations: 3.139 MB / 388.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.3292, allocations: 2.851 MB / 391.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.3313, allocations: 1.412 MB / 393 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.3339, allocations: 1.686 MB / 394.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006168/0.3345, allocations: 362.1 kB / 395.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3357, allocations: 482.5 kB / 395.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.3365, allocations: 0.9014 MB / 396.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.3385, allocations: 1.604 MB / 398.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.3449, allocations: 4.676 MB / 402.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.345, allocations: 0 / 402.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.345, allocations: 1.125 kB / 402.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.3451, allocations: 0 / 402.7 MB, free: 15.64 MB / 334.1 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.01057/0.3557, allocations: 3.698 MB / 406.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3557, allocations: 8.5 kB / 406.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.3596, allocations: 0.7083 MB / 407.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.3629, allocations: 1.695 MB / 408.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.363, allocations: 197.6 kB / 409 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/0.3635, allocations: 269.7 kB / 409.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006717/0.3702, allocations: 3.62 MB / 412.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.3703, allocations: 0 / 412.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.3705, allocations: 112 kB / 413 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/0.3706, allocations: 101.4 kB / 413.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.3758, allocations: 3.101 MB / 416.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.3924, allocations: 10.38 MB / 426.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/0.3977, allocations: 4.678 MB / 431.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3992, allocations: 0.9576 MB / 432.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004315/0.4035, allocations: 2.441 MB / 434.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.4036, allocations: 55.36 kB / 434.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.356e-06/0.4036, allocations: 7.938 kB / 434.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006355/0.41, allocations: 2.696 MB / 437.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.4101, allocations: 89.92 kB / 437.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.4123, allocations: 1.378 MB / 438.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.4124, allocations: 49.69 kB / 439 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/0.4132, allocations: 1.195 MB / 440.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.4135, allocations: 380.8 kB / 440.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.4139, allocations: 218.9 kB / 440.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4141, allocations: 353.9 kB / 441.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.415, allocations: 0.5803 MB / 441.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.4162, allocations: 0.8647 MB / 442.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.4183, allocations: 1.485 MB / 444 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.4183, allocations: 0 / 444 MB, free: 8.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003488/0.4218, allocations: 2.004 MB / 446 MB, free: 6.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4219, allocations: 8 kB / 446 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4219, allocations: 8 kB / 446 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.423, allocations: 405.2 kB / 446.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.4238, allocations: 227.6 kB / 446.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007652/0.4315, allocations: 6.648 MB / 453.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4329, allocations: 143.2 kB / 453.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.433, allocations: 51.92 kB / 453.5 MB, free: 14.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.4349, allocations: 0.8643 MB / 454.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.4351, allocations: 139.1 kB / 454.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.438, allocations: 1.675 MB / 456.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4381, allocations: 16 kB / 456.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.4381, allocations: 8 kB / 456.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4381, allocations: 3.984 kB / 456.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.4444, allocations: 3.984 MB / 460.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.4445, allocations: 4 kB / 460.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.4451, allocations: 144 kB / 460.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4461, allocations: 409.6 kB / 460.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.4462, allocations: 39.97 kB / 460.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/0.4535, allocations: 6.626 MB / 467.4 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4535, allocations: 3.938 kB / 467.4 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/0.4577, allocations: 2.517 MB / 469.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.4583, allocations: 259.8 kB / 470.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.4585, allocations: 28 kB / 470.2 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.4593, allocations: 95.89 kB / 470.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.4596, allocations: 100.6 kB / 470.4 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.4597, allocations: 35.98 kB / 470.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4611, allocations: 0.9591 MB / 471.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4611, allocations: 0 / 471.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002197/0.4633, allocations: 0.6775 MB / 472 MB, free: 11.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003444/0.4637, allocations: 159.1 kB / 472.2 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.4668, allocations: 1.812 MB / 474 MB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4668, allocations: 7.938 kB / 474 MB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.4687, allocations: 1.149 MB / 475.2 MB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.4707, allocations: 308 kB / 475.5 MB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.479, allocations: 4.64 MB / 480.1 MB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.4809, allocations: 2.176 MB / 482.3 MB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001128/0.482, allocations: 347 kB / 482.6 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.4823, allocations: 87.42 kB / 482.7 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4823, allocations: 0 / 482.7 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of Templates: time 0.03915/0.5214, allocations: 21.08 MB / 0.492 GB, free: 11.69 MB / 430.1 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)