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.0008252/0.000825, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.0008666/0.0008664, allocations: 178.8 kB / 17.21 MB, free: 6.32 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.473/1.473, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0005414/0.0005418, allocations: 8 kB / 280.1 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007214/0.2637, allocations: 6.226 MB / 334 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.2688, allocations: 2.076 MB / 336 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008524/0.2697, allocations: 46.25 kB / 336.1 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.2705, allocations: 316.5 kB / 336.4 MB, free: 10.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.2725, allocations: 0.7499 MB / 337.1 MB, free: 10 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.2733, allocations: 268.2 kB / 337.4 MB, free: 9.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003624/0.2769, allocations: 3.169 MB / 340.6 MB, free: 6.625 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.2791, allocations: 1.965 MB / 342.5 MB, free: 4.629 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.2804, allocations: 1.016 MB / 343.5 MB, free: 3.609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.282, allocations: 1.331 MB / 344.9 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.2822, allocations: 156 kB / 345 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.2829, allocations: 267.9 kB / 345.3 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.2834, allocations: 0.6423 MB / 345.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.284, allocations: 0.5471 MB / 346.5 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.2873, allocations: 3.713 MB / 350.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2873, allocations: 0 / 350.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2873, allocations: 0 / 350.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.752e-05/0.2874, allocations: 3.938 kB / 350.2 MB, free: 12.93 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.006932/0.2944, allocations: 3.149 MB / 353.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2944, allocations: 8.031 kB / 353.4 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.2981, allocations: 0.6951 MB / 354.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.3009, allocations: 1.624 MB / 355.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.301, allocations: 201.3 kB / 355.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.3014, allocations: 259.9 kB / 356.1 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.3072, allocations: 3.61 MB / 359.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.3072, allocations: 0 / 359.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.3075, allocations: 108 kB / 359.8 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-05/0.3076, allocations: 101.4 kB / 359.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.3127, allocations: 3.101 MB / 363 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.3287, allocations: 10.56 MB / 373.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.3336, allocations: 4.677 MB / 378.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.3349, allocations: 0.957 MB / 379.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003966/0.3389, allocations: 2.472 MB / 381.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.339, allocations: 47.44 kB / 381.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.538e-06/0.339, allocations: 0 / 381.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006407/0.3454, allocations: 2.802 MB / 384.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.3455, allocations: 89.98 kB / 384.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.3475, allocations: 1.359 MB / 386 MB, free: 7.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.3476, allocations: 45.7 kB / 386 MB, free: 7.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/0.3484, allocations: 1.168 MB / 387.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.3487, allocations: 358.8 kB / 387.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.3488, allocations: 24 kB / 387.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.349, allocations: 357.9 kB / 387.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.35, allocations: 0.5919 MB / 388.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.3511, allocations: 0.8647 MB / 389.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3523, allocations: 0.7226 MB / 390.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3523, allocations: 4 kB / 390.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003326/0.3557, allocations: 2.004 MB / 392.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3557, allocations: 12 kB / 392.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.3557, allocations: 8 kB / 392.1 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009244/0.3566, allocations: 410.2 kB / 392.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.3574, allocations: 227.6 kB / 392.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.3644, allocations: 6.078 MB / 398.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.3653, allocations: 158.7 kB / 399 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.3654, allocations: 47.98 kB / 399 MB, free: 10.27 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 (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.001487/0.3669, allocations: 0.872 MB / 399.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.3672, allocations: 130.4 kB / 400 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.3702, allocations: 1.694 MB / 401.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3702, allocations: 8 kB / 401.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.3702, allocations: 8 kB / 401.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.3702, allocations: 7.969 kB / 401.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/0.3769, allocations: 4.012 MB / 405.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.377, allocations: 0 / 405.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.3775, allocations: 140 kB / 405.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000927/0.3785, allocations: 393.3 kB / 406.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.3786, allocations: 39.97 kB / 406.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007445/0.386, allocations: 6.08 MB / 412.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3861, allocations: 8.016 kB / 412.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.3903, allocations: 2.539 MB / 415 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.3908, allocations: 239.2 kB / 415.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.3911, allocations: 35.98 kB / 415.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.3919, allocations: 99.91 kB / 415.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.3921, allocations: 96.69 kB / 415.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.3922, allocations: 35.98 kB / 415.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.3937, allocations: 0.9513 MB / 416.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 0 / 416.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002052/0.3957, allocations: 0.6727 MB / 417.1 MB, free: 7.758 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 (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.0003316/0.3961, allocations: 159.1 kB / 417.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.3993, allocations: 1.828 MB / 419.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3993, allocations: 0 / 419.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.4012, allocations: 1.152 MB / 420.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.4031, allocations: 292.3 kB / 420.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009999/0.4131, allocations: 5.553 MB / 426.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/0.4164, allocations: 2.18 MB / 428.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.4179, allocations: 347 kB / 428.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.4183, allocations: 83.42 kB / 428.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4183, allocations: 0 / 428.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.03686/0.4551, allocations: 19.15 MB / 447.8 MB, free: 8.84 MB / 382.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)