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.00107/0.00107, allocations: 94.17 kB / 16.3 MB, free: 5.996 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.001344/0.001344, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.548/1.548, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004925/0.0004926, allocations: 11.28 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 47.57 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006828/0.1151, allocations: 5.8 MB / 333.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.1195, allocations: 2.124 MB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.1211, allocations: 43.75 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.1226, allocations: 350.1 kB / 336 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.1252, allocations: 0.7126 MB / 336.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.1262, allocations: 263.5 kB / 337 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.1296, allocations: 2.019 MB / 339 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.1319, allocations: 1.968 MB / 341 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.1333, allocations: 0.9809 MB / 341.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.1347, allocations: 1.167 MB / 343.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.135, allocations: 156 kB / 343.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.1356, allocations: 251.8 kB / 343.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.1362, allocations: 0.6113 MB / 344.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.1367, allocations: 0.551 MB / 344.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.14, allocations: 3.709 MB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.14, allocations: 0 / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.14, allocations: 0 / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-05/0.1401, allocations: 0 / 348.4 MB, free: 15.3 MB / 302.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.007361/0.1475, allocations: 3.145 MB / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1475, allocations: 8.031 kB / 351.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.1512, allocations: 0.7029 MB / 352.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/0.1551, allocations: 1.631 MB / 353.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.1553, allocations: 205.3 kB / 354.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.1558, allocations: 263.9 kB / 354.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/0.1625, allocations: 3.575 MB / 357.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.1626, allocations: 0 / 357.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.1628, allocations: 112 kB / 358 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.163, allocations: 101.4 kB / 358.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005445/0.1684, allocations: 3.097 MB / 361.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.1856, allocations: 10.55 MB / 371.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005099/0.1907, allocations: 4.68 MB / 376.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1845/0.3752, allocations: 2.498 MB / 378.9 MB, free: 49.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3753, allocations: 49.25 kB / 379 MB, free: 49.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 5.721e-06/0.3753, allocations: 0 / 379 MB, free: 49.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006895/0.3822, allocations: 2.767 MB / 381.8 MB, free: 48.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3823, allocations: 93.95 kB / 381.8 MB, free: 48.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.3849, allocations: 1.355 MB / 383.2 MB, free: 48.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/0.385, allocations: 45.73 kB / 383.2 MB, free: 48.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.3861, allocations: 1.151 MB / 384.4 MB, free: 47.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.3864, allocations: 376.6 kB / 384.8 MB, free: 47.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.3865, allocations: 24.47 kB / 384.8 MB, free: 47.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3867, allocations: 353.9 kB / 385.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.3882, allocations: 0.5972 MB / 385.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.39, allocations: 0.8625 MB / 386.6 MB, free: 46.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.3918, allocations: 0.7332 MB / 387.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.3918, allocations: 1.625 kB / 387.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00543/0.3973, allocations: 2.03 MB / 389.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.3973, allocations: 8.125 kB / 389.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.3974, allocations: 7.094 kB / 389.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.3989, allocations: 404 kB / 389.8 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.4003, allocations: 227.6 kB / 390 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.4107, allocations: 6.228 MB / 396.2 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.4127, allocations: 155.2 kB / 396.4 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.4128, allocations: 43.75 kB / 396.4 MB, free: 41.02 MB / 318.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.002488/0.4153, allocations: 0.8641 MB / 397.3 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.4158, allocations: 134.2 kB / 397.4 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.4206, allocations: 1.757 MB / 399.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4207, allocations: 10.72 kB / 399.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.4207, allocations: 11.2 kB / 399.2 MB, free: 39.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.4207, allocations: 7.781 kB / 399.2 MB, free: 39.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4314, allocations: 4.091 MB / 403.3 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.4314, allocations: 1.125 kB / 403.3 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.4326, allocations: 148.3 kB / 403.4 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4341, allocations: 401.4 kB / 403.8 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.4343, allocations: 39.98 kB / 403.9 MB, free: 37.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.4446, allocations: 6.228 MB / 410.1 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4446, allocations: 0 / 410.1 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/0.4509, allocations: 2.69 MB / 412.8 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.4516, allocations: 243 kB / 413 MB, free: 27.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/0.452, allocations: 31.98 kB / 413 MB, free: 27.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.4535, allocations: 103.9 kB / 413.1 MB, free: 27.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.4538, allocations: 100.7 kB / 413.2 MB, free: 27.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.454, allocations: 35.98 kB / 413.3 MB, free: 27.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002107/0.4561, allocations: 0.9431 MB / 414.2 MB, free: 26.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4561, allocations: 0 / 414.2 MB, free: 26.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003124/0.4593, allocations: 0.6804 MB / 414.9 MB, free: 25.64 MB / 318.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.0004362/0.4597, allocations: 146.2 kB / 415 MB, free: 25.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004792/0.4645, allocations: 1.853 MB / 416.9 MB, free: 23.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4645, allocations: 8.25 kB / 416.9 MB, free: 23.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002909/0.4675, allocations: 1.168 MB / 418.1 MB, free: 22.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.4697, allocations: 279.2 kB / 418.3 MB, free: 22.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.4818, allocations: 5.579 MB / 423.9 MB, free: 16.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.4846, allocations: 2.224 MB / 426.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001803/0.4865, allocations: 347 kB / 426.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.4869, allocations: 91.36 kB / 426.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4869, allocations: 4 kB / 426.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of Templates: time 0.05405/0.541, allocations: 19.22 MB / 445.8 MB, free: 10.6 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: