Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 199.1 kB / 16.14 MB, free: 6.664 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.331/1.331, allocations: 205.1 MB / 222 MB, free: 4.727 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.001061/0.001061, allocations: 51.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1912, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007291/0.1985, allocations: 7.141 MB / 331.8 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.203, allocations: 2.222 MB / 334 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/0.2038, allocations: 45.88 kB / 334.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.2047, allocations: 381.1 kB / 334.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.2069, allocations: 0.8042 MB / 335.3 MB, free: 9.523 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.2077, allocations: 335.5 kB / 335.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.2109, allocations: 3.44 MB / 339 MB, free: 5.742 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.2132, allocations: 2.389 MB / 341.4 MB, free: 3.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2144, allocations: 1.214 MB / 342.6 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.2159, allocations: 1.623 MB / 344.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.2162, allocations: 236 kB / 344.5 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.2169, allocations: 355.9 kB / 344.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.2175, allocations: 0.7631 MB / 345.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.2187, allocations: 1.462 MB / 347.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.2219, allocations: 4.506 MB / 351.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2219, allocations: 0 / 351.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2219, allocations: 0 / 351.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.605e-05/0.222, allocations: 0 / 351.6 MB, free: 9.113 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.007239/0.2292, allocations: 3.625 MB / 355.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2293, allocations: 8.031 kB / 355.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.2328, allocations: 0.6921 MB / 355.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.2352, allocations: 1.667 MB / 357.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2353, allocations: 205.7 kB / 357.8 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.2357, allocations: 268 kB / 358 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.2417, allocations: 3.607 MB / 361.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.2418, allocations: 4 kB / 361.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.242, allocations: 104 kB / 361.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.2421, allocations: 117.3 kB / 361.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.2473, allocations: 3.085 MB / 364.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/0.2638, allocations: 10.5 MB / 375.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.2686, allocations: 4.677 MB / 380.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.27, allocations: 0.9641 MB / 381.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00369/0.2737, allocations: 2.448 MB / 383.5 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2738, allocations: 51.44 kB / 383.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.2738, allocations: 0 / 383.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005746/0.2796, allocations: 2.696 MB / 386.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.2796, allocations: 85.98 kB / 386.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.2812, allocations: 1.378 MB / 387.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.2813, allocations: 49.64 kB / 387.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.282, allocations: 1.164 MB / 388.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.2822, allocations: 358.8 kB / 389.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.2825, allocations: 222.8 kB / 389.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2827, allocations: 357.9 kB / 389.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/0.2836, allocations: 0.5764 MB / 390.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.2846, allocations: 0.8575 MB / 391.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.2866, allocations: 1.485 MB / 392.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2866, allocations: 0 / 392.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003161/0.2898, allocations: 1.999 MB / 394.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2898, allocations: 8 kB / 394.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2899, allocations: 8 kB / 394.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.2908, allocations: 405.2 kB / 395.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.2916, allocations: 223.6 kB / 395.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/0.2985, allocations: 6.094 MB / 401.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.2994, allocations: 142.7 kB / 401.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.2995, allocations: 52.05 kB / 401.7 MB, free: 5.043 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.001286/0.3008, allocations: 0.8604 MB / 402.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.301, allocations: 138.3 kB / 402.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.3038, allocations: 1.675 MB / 404.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3038, allocations: 12 kB / 404.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3039, allocations: 7.938 kB / 404.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3039, allocations: 7.969 kB / 404.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005886/0.3098, allocations: 3.992 MB / 408.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3098, allocations: 4 kB / 408.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.3104, allocations: 140 kB / 408.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008915/0.3113, allocations: 393.3 kB / 408.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.3114, allocations: 35.97 kB / 408.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/0.3182, allocations: 6.08 MB / 415 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.3182, allocations: 15.97 kB / 415 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/0.3221, allocations: 2.496 MB / 417.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.3225, allocations: 247.2 kB / 417.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.3227, allocations: 35.98 kB / 417.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.3234, allocations: 83.91 kB / 417.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.3236, allocations: 104.6 kB / 418 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.3237, allocations: 35.92 kB / 418 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.325, allocations: 0.963 MB / 419 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 0 / 419 MB, free: 3.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001704/0.3267, allocations: 0.6727 MB / 419.7 MB, free: 2.602 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.0002739/0.327, allocations: 147.4 kB / 419.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.3299, allocations: 1.8 MB / 421.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3299, allocations: 7.906 kB / 421.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.3317, allocations: 1.134 MB / 422.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.3332, allocations: 300.3 kB / 423 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.3411, allocations: 5.742 MB / 428.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.3429, allocations: 2.18 MB / 431 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.344, allocations: 347 kB / 431.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.3442, allocations: 83.42 kB / 431.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3442, allocations: 0 / 431.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of Templates: time 0.03194/0.3762, allocations: 19.89 MB / 451.3 MB, free: 2.793 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)