Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00109/0.00109, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001231/0.001231, allocations: 172.4 kB / 16.26 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.415/1.415, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0007298/0.0007297, allocations: 14.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2728, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01616/0.289, allocations: 15.38 MB / 342.4 MB, free: 3.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.3014, allocations: 4.589 MB / 347 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.306, allocations: 111.6 kB / 347.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004776/0.3108, allocations: 1.155 MB / 348.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008712/0.3195, allocations: 1.7 MB / 350 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.3248, allocations: 1.512 MB / 351.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01321/0.338, allocations: 9.473 MB / 361 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03653/0.3746, allocations: 21 MB / 382 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/0.3814, allocations: 3.753 MB / 385.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00824/0.3897, allocations: 4.54 MB / 390.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002734/0.3925, allocations: 0.5664 MB / 390.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.3971, allocations: 0.8396 MB / 391.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.3995, allocations: 1.794 MB / 393.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007619/0.4072, allocations: 4.27 MB / 397.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01977/0.427, allocations: 17.1 MB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.427, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.427, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005315/0.4276, allocations: 0 / 414.8 MB, free: 11.2 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.03106/0.4586, allocations: 10.28 MB / 425.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4587, allocations: 8.031 kB / 425.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03607/0.4948, allocations: 6.213 MB / 431.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.5078, allocations: 5.191 MB / 436.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009294/0.5087, allocations: 0.6704 MB / 437.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/0.5128, allocations: 0.8749 MB / 438.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04343/0.5562, allocations: 14.74 MB / 452.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003351/0.5566, allocations: 11.84 kB / 452.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003253/0.5599, allocations: 372 kB / 453.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005897/0.5605, allocations: 0.4954 MB / 453.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4312/0.9917, allocations: 13.55 MB / 467.2 MB, free: 95.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07381/1.066, allocations: 44.72 MB / 0.4999 GB, free: 57.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.076, allocations: 11.7 MB / 0.5114 GB, free: 44.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004356/1.081, allocations: 3.225 MB / 0.5145 GB, free: 41.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/1.081, allocations: 172.3 kB / 0.5147 GB, free: 40.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/1.081, allocations: 89.97 kB / 0.5148 GB, free: 40.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 7.654e-06/1.081, allocations: 0 / 0.5148 GB, free: 40.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.01884/1.1, allocations: 9.758 MB / 0.5243 GB, free: 31.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/1.1, allocations: 117.1 kB / 0.5244 GB, free: 30.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/1.105, allocations: 3.16 MB / 0.5275 GB, free: 27.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007137/1.105, allocations: 93.7 kB / 0.5276 GB, free: 27.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.108, allocations: 3.675 MB / 0.5312 GB, free: 23.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.109, allocations: 1.428 MB / 0.5326 GB, free: 22.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/1.11, allocations: 474.8 kB / 0.533 GB, free: 22.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.211e-05/1.11, allocations: 309.1 kB / 0.5333 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/1.114, allocations: 2.908 MB / 0.5362 GB, free: 18.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/1.118, allocations: 4.982 MB / 0.541 GB, free: 12.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008921/1.127, allocations: 8.412 MB / 0.5492 GB, free: 3.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.642e-05/1.127, allocations: 20 kB / 0.5493 GB, free: 3.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01872/1.146, allocations: 9.231 MB / 0.5583 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/1.146, allocations: 36 kB / 0.5583 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.146, allocations: 64 kB / 0.5584 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/1.15, allocations: 1.122 MB / 0.5595 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005749/1.156, allocations: 1.295 MB / 0.5607 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.17, allocations: 9.931 MB / 0.5704 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/1.176, allocations: 0.7395 MB / 0.5712 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.178, allocations: 272 kB / 0.5714 GB, free: 12.45 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.008178/1.186, allocations: 3.431 MB / 0.5748 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.188, allocations: 347.7 kB / 0.5751 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.201, allocations: 7.046 MB / 0.582 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.213, allocations: 5.87 MB / 0.5877 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.906e-05/1.213, allocations: 12 kB / 0.5877 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.773e-05/1.213, allocations: 23.91 kB / 0.5877 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/1.244, allocations: 15.56 MB / 0.6029 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/1.244, allocations: 12 kB / 0.6029 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.247, allocations: 0.7919 MB / 0.6037 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003315/1.251, allocations: 1.023 MB / 0.6047 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008952/1.251, allocations: 112 kB / 0.6048 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.266, allocations: 9.682 MB / 0.6143 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2721/1.538, allocations: 18.45 kB / 0.6143 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.556, allocations: 10.92 MB / 0.625 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.559, allocations: 1.015 MB / 0.626 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/1.559, allocations: 98.8 kB / 0.626 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.561, allocations: 281.8 kB / 0.6263 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00068/1.562, allocations: 337.2 kB / 0.6266 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/1.562, allocations: 147.9 kB / 0.6268 GB, free: 142.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002627/1.565, allocations: 2.128 MB / 0.6289 GB, free: 141.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.565, allocations: 3.906 kB / 0.6289 GB, free: 141.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005879/1.571, allocations: 2.219 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.0006419/1.571, allocations: 294.5 kB / 0.6313 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.582, allocations: 7.582 MB / 0.6387 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.582, allocations: 3.938 kB / 0.6387 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005838/1.588, allocations: 3.727 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.009429/1.598, allocations: 0.7768 MB / 0.6431 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/1.625, 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.005158/1.631, allocations: 5.94 MB / 0.6685 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005443/1.636, allocations: 2.155 MB / 0.6706 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/1.637, allocations: 319.4 kB / 0.6709 GB, free: 111.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.813e-06/1.637, allocations: 0 / 0.6709 GB, free: 111.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09637/1.733, allocations: 58.48 MB / 0.728 GB, free: 52.6 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)