Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001292/0.001292, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001738/0.001739, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.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.00043/0.00043, allocations: 16 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 47.58 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007876/0.2732, allocations: 5.809 MB / 332.3 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.2789, allocations: 2.125 MB / 334.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.2801, allocations: 44.84 kB / 334.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009332/0.281, allocations: 338.7 kB / 334.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.2832, allocations: 0.7142 MB / 335.5 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.2841, allocations: 272 kB / 335.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.2871, allocations: 2.024 MB / 337.8 MB, free: 8.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.2894, allocations: 1.969 MB / 339.7 MB, free: 6.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.2907, allocations: 0.9653 MB / 340.7 MB, free: 5.191 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.292, allocations: 1.175 MB / 341.9 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.2923, allocations: 152 kB / 342 MB, free: 3.863 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.293, allocations: 255.9 kB / 342.3 MB, free: 3.613 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.2936, allocations: 0.6073 MB / 342.9 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.2942, allocations: 0.5471 MB / 343.4 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.2975, allocations: 3.717 MB / 347.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2975, allocations: 7.938 kB / 347.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2975, allocations: 0 / 347.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.25e-05/0.2976, allocations: 0 / 347.1 MB, free: 14.71 MB / 286.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.007232/0.3048, allocations: 3.138 MB / 350.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3049, allocations: 12.03 kB / 350.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.3086, allocations: 0.6912 MB / 351 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.312, allocations: 1.62 MB / 352.6 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3122, allocations: 205.3 kB / 352.8 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.3126, allocations: 271.8 kB / 353.1 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/0.3188, allocations: 3.579 MB / 356.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.3189, allocations: 0 / 356.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.3191, allocations: 112 kB / 356.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.801e-05/0.3192, allocations: 97.41 kB / 356.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.3244, allocations: 3.105 MB / 360 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3414, allocations: 10.55 MB / 370.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.3466, allocations: 4.679 MB / 375.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004638/0.3513, allocations: 2.499 MB / 377.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.3514, allocations: 51.52 kB / 377.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 3.065e-06/0.3514, allocations: 0 / 377.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006255/0.3577, allocations: 2.764 MB / 380.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3577, allocations: 94.11 kB / 380.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.3597, allocations: 1.354 MB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.3598, allocations: 41.7 kB / 382 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.3607, allocations: 1.145 MB / 383.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3611, allocations: 382.6 kB / 383.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.3611, allocations: 24 kB / 383.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3614, allocations: 353.9 kB / 383.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3624, allocations: 0.5998 MB / 384.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.3636, allocations: 0.8544 MB / 385.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3648, allocations: 0.7459 MB / 386.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.3649, allocations: 4 kB / 386.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003367/0.3682, allocations: 2.023 MB / 388.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3683, allocations: 8 kB / 388.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3683, allocations: 8 kB / 388.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3693, allocations: 410.9 kB / 388.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.3703, allocations: 227.7 kB / 388.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.378, allocations: 6.239 MB / 395 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3792, allocations: 134.8 kB / 395.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.3793, allocations: 55.92 kB / 395.2 MB, free: 12.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (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.001858/0.3811, allocations: 0.8565 MB / 396 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.3814, allocations: 138.3 kB / 396.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.3843, allocations: 1.756 MB / 397.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3844, allocations: 15.98 kB / 397.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.3844, allocations: 8 kB / 397.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3844, allocations: 3.984 kB / 397.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/0.3912, allocations: 4.089 MB / 402 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3912, allocations: 7.984 kB / 402 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.3919, allocations: 147.9 kB / 402.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.3928, allocations: 393.5 kB / 402.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.689e-05/0.3929, allocations: 35.97 kB / 402.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007147/0.4, allocations: 6.232 MB / 408.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4, allocations: 4 kB / 408.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.4041, allocations: 2.688 MB / 411.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.4045, allocations: 247.2 kB / 411.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4047, allocations: 39.94 kB / 411.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.4055, allocations: 99.89 kB / 411.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.4057, allocations: 96.73 kB / 412 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.4058, allocations: 35.98 kB / 412 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.4072, allocations: 0.9431 MB / 413 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4072, allocations: 0 / 413 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001962/0.4092, allocations: 0.6766 MB / 413.7 MB, free: 9.914 MB / 350.1 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.0003129/0.4095, allocations: 155.1 kB / 413.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.4124, allocations: 1.852 MB / 415.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4124, allocations: 8.094 kB / 415.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.4142, allocations: 1.168 MB / 416.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4154, allocations: 292.4 kB / 417.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/0.4234, allocations: 5.571 MB / 422.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/0.4252, allocations: 2.223 MB / 424.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.4262, allocations: 351 kB / 425.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4265, allocations: 83.42 kB / 425.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4265, allocations: 4 kB / 425.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Templates: time 0.03697/0.4635, allocations: 19.22 MB / 444.6 MB, free: 10.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: