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.001117/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001111/0.001111, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.344/1.344, allocations: 205.1 MB / 222 MB, free: 4.98 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.001139/0.001139, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007747/0.2221, allocations: 7.148 MB / 331.8 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.2271, allocations: 2.23 MB / 334.1 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2284, allocations: 45 kB / 334.1 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.2294, allocations: 376.6 kB / 334.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.2322, allocations: 0.7995 MB / 335.3 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.233, allocations: 338 kB / 335.6 MB, free: 9.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.2366, allocations: 3.448 MB / 339 MB, free: 5.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.2391, allocations: 2.385 MB / 341.4 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.2407, allocations: 1.207 MB / 342.6 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2425, allocations: 1.619 MB / 344.3 MB, free: 500 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.2429, allocations: 236 kB / 344.5 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009511/0.2438, allocations: 355.9 kB / 344.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.2444, allocations: 0.767 MB / 345.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.2459, allocations: 1.469 MB / 347.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003744/0.2496, allocations: 4.494 MB / 351.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.2497, allocations: 4 kB / 351.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2497, allocations: 4 kB / 351.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.4e-05/0.2498, allocations: 0 / 351.6 MB, free: 9.148 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.008406/0.2582, allocations: 3.625 MB / 355.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.2582, allocations: 8.031 kB / 355.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.2619, allocations: 0.6961 MB / 355.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.265, allocations: 1.671 MB / 357.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.2652, allocations: 197.7 kB / 357.8 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.2657, allocations: 264 kB / 358 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.2719, allocations: 3.618 MB / 361.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.272, allocations: 0 / 361.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.2723, allocations: 108 kB / 361.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-05/0.2724, allocations: 101.4 kB / 361.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005239/0.2776, allocations: 3.097 MB / 364.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.2938, allocations: 10.49 MB / 375.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/0.2987, allocations: 4.676 MB / 380.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3001, allocations: 0.9563 MB / 381.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003953/0.3041, allocations: 2.46 MB / 383.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3041, allocations: 43.44 kB / 383.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.3041, allocations: 0 / 383.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006116/0.3103, allocations: 2.696 MB / 386.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3103, allocations: 89.98 kB / 386.4 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.3124, allocations: 1.374 MB / 387.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.3125, allocations: 45.7 kB / 387.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/0.3132, allocations: 1.168 MB / 388.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.3135, allocations: 362.8 kB / 389.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.3139, allocations: 222.8 kB / 389.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.314, allocations: 357.9 kB / 389.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/0.3149, allocations: 0.5725 MB / 390.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.316, allocations: 0.857 MB / 391.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.318, allocations: 1.485 MB / 392.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.3181, allocations: 4 kB / 392.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003271/0.3213, allocations: 1.999 MB / 394.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3214, allocations: 8 kB / 394.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3214, allocations: 8 kB / 394.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.3224, allocations: 409.2 kB / 395.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.3232, allocations: 215.7 kB / 395.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/0.3301, allocations: 6.09 MB / 401.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3311, allocations: 150.8 kB / 401.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.3312, allocations: 44 kB / 401.7 MB, free: 5.09 MB / 334.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.0014/0.3327, allocations: 0.8681 MB / 402.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.333, allocations: 134.3 kB / 402.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.3359, allocations: 1.675 MB / 404.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.336, allocations: 8 kB / 404.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.336, allocations: 8 kB / 404.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.336, allocations: 3.984 kB / 404.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/0.3427, allocations: 3.996 MB / 408.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3427, allocations: 0 / 408.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.3433, allocations: 131.8 kB / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.3443, allocations: 397.3 kB / 408.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.3444, allocations: 43.97 kB / 408.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.3513, allocations: 6.088 MB / 415 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3513, allocations: 3.938 kB / 415 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.3553, allocations: 2.508 MB / 417.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.3558, allocations: 239.2 kB / 417.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.3561, allocations: 31.98 kB / 417.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/0.3571, allocations: 95.91 kB / 417.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.3574, allocations: 92.67 kB / 418 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.3575, allocations: 31.98 kB / 418 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001795/0.3593, allocations: 0.9669 MB / 419 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3593, allocations: 0 / 419 MB, free: 3.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002142/0.3614, allocations: 0.6688 MB / 419.7 MB, free: 2.656 MB / 350.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.0003125/0.3618, allocations: 155 kB / 419.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003158/0.3649, allocations: 1.808 MB / 421.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.365, allocations: 3.906 kB / 421.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.3668, allocations: 1.138 MB / 422.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.3685, allocations: 300.4 kB / 423 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.3771, allocations: 5.738 MB / 428.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.3793, allocations: 2.18 MB / 431 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009657/0.3803, allocations: 343 kB / 431.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.3806, allocations: 83.42 kB / 431.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3806, allocations: 0 / 431.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of Templates: time 0.03503/0.4156, allocations: 19.9 MB / 451.3 MB, free: 2.828 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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)