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.001167/0.001167, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001384/0.001384, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004753/0.0004755, allocations: 16 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2506, allocations: 47.58 MB / 326.5 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01366/0.2643, allocations: 13.21 MB / 339.7 MB, free: 6.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009646/0.274, allocations: 4.392 MB / 344.1 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.2763, allocations: 107.7 kB / 344.2 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.2788, allocations: 0.9055 MB / 345.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.2833, allocations: 1.539 MB / 346.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.2865, allocations: 1.255 MB / 347.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.3004, allocations: 9.142 MB / 357 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02953/0.33, allocations: 17.2 MB / 374.2 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005718/0.3358, allocations: 3.567 MB / 377.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00684/0.3426, allocations: 3.926 MB / 381.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.3442, allocations: 0.5625 MB / 382.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.347, allocations: 0.7926 MB / 383.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.3488, allocations: 1.705 MB / 384.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.3514, allocations: 1.775 MB / 386.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.3679, allocations: 15.22 MB / 401.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.368, allocations: 0 / 401.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.368, allocations: 4 kB / 401.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000517/0.3685, allocations: 0 / 401.8 MB, free: 7.938 MB / 334.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.0289/0.3974, allocations: 10.3 MB / 412.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3975, allocations: 12.03 kB / 412.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03539/0.4329, allocations: 6.267 MB / 418.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.447, allocations: 5.099 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008555/0.4479, allocations: 0.678 MB / 424.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/0.452, allocations: 0.8749 MB / 425 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03374/0.4857, allocations: 14.59 MB / 439.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002239/0.486, allocations: 11.91 kB / 439.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/0.4875, allocations: 372 kB / 440 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004863/0.488, allocations: 0.4953 MB / 440.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.5169, allocations: 13.48 MB / 453.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4178/0.9348, allocations: 44.69 MB / 498.6 MB, free: 69.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/0.9441, allocations: 11.68 MB / 0.4983 GB, free: 57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.9445, allocations: 188 kB / 0.4985 GB, free: 56.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.9446, allocations: 78.56 kB / 0.4986 GB, free: 56.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 5.79e-06/0.9446, allocations: 224 / 0.4986 GB, free: 56.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.01702/0.9616, allocations: 10.3 MB / 0.5087 GB, free: 46.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.9617, allocations: 121.1 kB / 0.5088 GB, free: 46.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/0.9657, allocations: 3.132 MB / 0.5118 GB, free: 42.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.9661, allocations: 89.7 kB / 0.5119 GB, free: 42.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.9675, allocations: 3.683 MB / 0.5155 GB, free: 39.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.9684, allocations: 1.431 MB / 0.5169 GB, free: 37.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.9687, allocations: 120 kB / 0.517 GB, free: 37.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.9689, allocations: 0.5498 MB / 0.5176 GB, free: 37.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.9723, allocations: 2.904 MB / 0.5204 GB, free: 34.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.9764, allocations: 4.948 MB / 0.5252 GB, free: 28.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.9806, allocations: 4.029 MB / 0.5292 GB, free: 24.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.9807, allocations: 20 kB / 0.5292 GB, free: 24.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0118/0.9925, allocations: 9.208 MB / 0.5382 GB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.9925, allocations: 32 kB / 0.5382 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/0.9926, allocations: 68 kB / 0.5383 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.9953, allocations: 1.103 MB / 0.5394 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/0.9995, allocations: 1.306 MB / 0.5406 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.011, allocations: 10.06 MB / 0.5505 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.016, allocations: 0.7395 MB / 0.5512 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007739/1.016, allocations: 276 kB / 0.5514 GB, free: 1.062 MB / 382.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 (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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006001/1.022, allocations: 3.436 MB / 0.5548 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000912/1.023, allocations: 359.6 kB / 0.5551 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.035, allocations: 7.05 MB / 0.562 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009134/1.044, allocations: 5.863 MB / 0.5677 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/1.044, allocations: 12 kB / 0.5678 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.044, allocations: 19.92 kB / 0.5678 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.07, allocations: 15.1 MB / 0.5825 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.07, allocations: 8 kB / 0.5825 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.073, allocations: 0.7614 MB / 0.5833 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/1.075, allocations: 1.02 MB / 0.5843 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/1.076, allocations: 99.92 kB / 0.5844 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.089, allocations: 9.951 MB / 0.5941 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.089, allocations: 8.125 kB / 0.5941 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.105, allocations: 11.15 MB / 0.605 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/1.107, allocations: 0.9873 MB / 0.606 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005903/1.108, allocations: 80 kB / 0.606 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.11, allocations: 275.7 kB / 0.6063 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/1.11, allocations: 303.4 kB / 0.6066 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/1.111, allocations: 132 kB / 0.6067 GB, free: 7.543 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003182/1.114, allocations: 2.105 MB / 0.6088 GB, free: 5.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.553e-06/1.114, allocations: 0 / 0.6088 GB, free: 5.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006124/1.12, allocations: 2.235 MB / 0.6109 GB, free: 3.191 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006135/1.121, allocations: 291.4 kB / 0.6112 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2143/1.335, allocations: 7.529 MB / 0.6186 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.335, allocations: 2.656 kB / 0.6186 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005949/1.341, allocations: 3.662 MB / 0.6222 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/1.344, allocations: 0.6711 MB / 0.6228 GB, free: 154.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/1.371, allocations: 18.91 MB / 0.6413 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/1.376, allocations: 6.064 MB / 0.6472 GB, free: 138.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005212/1.381, allocations: 2.134 MB / 0.6493 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/1.382, allocations: 315.4 kB / 0.6496 GB, free: 135.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/1.382, allocations: 0 / 0.6496 GB, free: 135.8 MB / 446.1 MB Notification: Performance of Templates: time 0.08559/1.468, allocations: 56.83 MB / 0.7051 GB, free: 79.02 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: