Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.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.0008534/0.0008534, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005155/0.005155, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.443/1.443, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004651/0.0004651, allocations: 10.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 47.59 MB / 327 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01669/0.2546, allocations: 15.38 MB / 342.4 MB, free: 4.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2662, allocations: 4.592 MB / 347 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.2702, allocations: 103.7 kB / 347.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.274, allocations: 1.155 MB / 348.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.2813, allocations: 1.704 MB / 350 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.2852, allocations: 1.512 MB / 351.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01206/0.2973, allocations: 9.481 MB / 361 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03414/0.3315, allocations: 20.99 MB / 382 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/0.3379, allocations: 3.757 MB / 385.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008071/0.346, allocations: 4.536 MB / 390.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.3482, allocations: 0.5625 MB / 390.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.3522, allocations: 0.8474 MB / 391.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.3545, allocations: 1.79 MB / 393.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006828/0.3614, allocations: 4.27 MB / 397.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.3819, allocations: 17.1 MB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.382, allocations: 0 / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.382, allocations: 0 / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006282/0.3826, allocations: 0 / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03186/0.4145, allocations: 10.28 MB / 425.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4146, allocations: 12.03 kB / 425.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03538/0.45, allocations: 6.209 MB / 431.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.4631, allocations: 5.187 MB / 436.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007699/0.4639, allocations: 0.6743 MB / 437.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004619/0.4685, allocations: 0.8788 MB / 438.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/0.5087, allocations: 14.74 MB / 452.8 MB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004928/0.5092, allocations: 11.91 kB / 452.8 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003638/0.5129, allocations: 372 kB / 453.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000641/0.5135, allocations: 499.3 kB / 453.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4474/0.9609, allocations: 13.56 MB / 467.2 MB, free: 95.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0696/1.031, allocations: 44.72 MB / 0.5 GB, free: 57.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.041, allocations: 11.71 MB / 0.5114 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/1.045, allocations: 3.222 MB / 0.5145 GB, free: 41.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/1.045, allocations: 176.6 kB / 0.5147 GB, free: 41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/1.045, allocations: 82.5 kB / 0.5148 GB, free: 40.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 6.562e-06/1.045, allocations: 0 / 0.5148 GB, free: 40.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.01803/1.063, allocations: 9.758 MB / 0.5243 GB, free: 31.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.063, allocations: 121.1 kB / 0.5244 GB, free: 30.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/1.068, allocations: 3.148 MB / 0.5275 GB, free: 27.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005369/1.068, allocations: 93.7 kB / 0.5276 GB, free: 27.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.07, allocations: 3.682 MB / 0.5312 GB, free: 24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.071, allocations: 1.436 MB / 0.5326 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/1.072, allocations: 466.8 kB / 0.533 GB, free: 22.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/1.072, allocations: 305.1 kB / 0.5333 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.076, allocations: 2.916 MB / 0.5362 GB, free: 18.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/1.08, allocations: 4.971 MB / 0.541 GB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008632/1.089, allocations: 8.408 MB / 0.5492 GB, free: 3.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.643e-05/1.089, allocations: 20 kB / 0.5493 GB, free: 3.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01576/1.105, allocations: 9.247 MB / 0.5583 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/1.105, allocations: 32 kB / 0.5583 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.105, allocations: 68 kB / 0.5584 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/1.108, allocations: 1.118 MB / 0.5595 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/1.113, allocations: 1.287 MB / 0.5607 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.127, allocations: 9.936 MB / 0.5704 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/1.133, allocations: 0.7316 MB / 0.5711 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/1.134, allocations: 280 kB / 0.5714 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008346/1.142, allocations: 3.435 MB / 0.5748 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009326/1.143, allocations: 343.7 kB / 0.5751 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.156, allocations: 7.046 MB / 0.582 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009159/1.165, allocations: 5.874 MB / 0.5877 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/1.165, allocations: 12 kB / 0.5877 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/1.165, allocations: 19.92 kB / 0.5877 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/1.192, allocations: 15.57 MB / 0.6029 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.192, allocations: 12 kB / 0.603 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.195, allocations: 0.784 MB / 0.6037 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.198, allocations: 1.028 MB / 0.6047 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/1.198, allocations: 108 kB / 0.6048 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/1.212, allocations: 9.678 MB / 0.6143 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/1.212, allocations: 15.94 kB / 0.6143 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2856/1.498, allocations: 10.93 MB / 0.625 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.5, allocations: 1.011 MB / 0.626 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/1.5, allocations: 94.8 kB / 0.6261 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.503, allocations: 278 kB / 0.6263 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007578/1.503, allocations: 344 kB / 0.6266 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/1.504, allocations: 145.5 kB / 0.6268 GB, free: 142.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002955/1.507, allocations: 2.119 MB / 0.6289 GB, free: 141.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.507, allocations: 0 / 0.6289 GB, free: 141.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007054/1.514, allocations: 2.229 MB / 0.631 GB, free: 140.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000658/1.514, allocations: 290.3 kB / 0.6313 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01148/1.526, allocations: 7.588 MB / 0.6387 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/1.526, allocations: 0 / 0.6387 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005685/1.532, allocations: 3.732 MB / 0.6424 GB, free: 136.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008525/1.54, allocations: 0.7755 MB / 0.6431 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.568, allocations: 20.01 MB / 0.6627 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005432/1.573, allocations: 5.937 MB / 0.6685 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005533/1.579, allocations: 2.16 MB / 0.6706 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008993/1.58, allocations: 319.4 kB / 0.6709 GB, free: 111.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/1.58, allocations: 0 / 0.6709 GB, free: 111.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09941/1.679, allocations: 58.48 MB / 0.728 GB, free: 52.64 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)