Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001504/0.001505, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.444/1.444, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001638/0.001638, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.755e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08498, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4437, allocations: 85.21 MB / 434.7 MB, free: 8.379 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.444, allocations: 80.48 kB / 434.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04116/0.4852, allocations: 15.52 MB / 450.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4852, allocations: 0 / 450.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.4853, allocations: 16 kB / 450.3 MB, free: 12.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001655/0.4869, allocations: 0.8401 MB / 451.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.487, allocations: 12.03 kB / 451.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.4871, allocations: 79.11 kB / 451.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.4879, allocations: 0.4956 MB / 451.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.782e-05/0.488, allocations: 74.95 kB / 451.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.4882, allocations: 61.23 kB / 451.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.4891, allocations: 0.5674 MB / 452.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4892, allocations: 0 / 452.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.4892, allocations: 19.06 kB / 452.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.4893, allocations: 23.98 kB / 452.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.4901, allocations: 488.9 kB / 452.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.4934, allocations: 2.319 MB / 455.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.494, allocations: 426.7 kB / 455.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.4944, allocations: 251 kB / 455.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.4945, allocations: 4 kB / 455.9 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4945, allocations: 45.83 kB / 456 MB, free: 8.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.4945, allocations: 0 / 456 MB, free: 8.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.01071/0.5052, allocations: 3.029 MB / 459 MB, free: 5.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.5054, allocations: 81.67 kB / 459.1 MB, free: 5.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.5061, allocations: 482.2 kB / 459.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.5062, allocations: 40.45 kB / 459.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5064, allocations: 316.7 kB / 459.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5066, allocations: 210 kB / 460.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.5066, allocations: 11.31 kB / 460.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5068, allocations: 368.5 kB / 460.5 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.5072, allocations: 219.9 kB / 460.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.5076, allocations: 319.6 kB / 461 MB, free: 4.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.5081, allocations: 262.4 kB / 461.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5081, allocations: 0 / 461.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006564/0.5147, allocations: 1.787 MB / 463 MB, free: 2.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5147, allocations: 8 kB / 463 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5148, allocations: 0 / 463 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005934/0.5207, allocations: 1.165 MB / 464.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.5212, allocations: 91.64 kB / 464.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.5338, allocations: 5.794 MB / 470.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.5346, allocations: 38.23 kB / 470.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5348, allocations: 26.61 kB / 470.2 MB, free: 13.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.535, allocations: 134.7 kB / 470.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.5352, allocations: 63.3 kB / 470.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.5368, allocations: 0.7658 MB / 471.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5368, allocations: 4 kB / 471.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5368, allocations: 4 kB / 471.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5368, allocations: 11.97 kB / 471.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.5406, allocations: 1.824 MB / 473 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5407, allocations: 3.938 kB / 473 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.5412, allocations: 119.9 kB / 473.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.5428, allocations: 336.5 kB / 473.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.5429, allocations: 12 kB / 473.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.5474, allocations: 2.811 MB / 476.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5474, allocations: 4 kB / 476.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.5498, allocations: 1.275 MB / 477.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.5502, allocations: 208.3 kB / 477.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5504, allocations: 12 kB / 477.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/0.551, allocations: 51.97 kB / 477.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5512, allocations: 60.38 kB / 477.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.5513, allocations: 16 kB / 477.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005215/0.5518, allocations: 385.5 kB / 478.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5518, allocations: 0 / 478.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001032/0.5528, allocations: 220.1 kB / 478.4 MB, free: 4.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.Phi,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000401/0.5533, allocations: 159.1 kB / 478.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.5549, allocations: 0.8182 MB / 479.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.5549, allocations: 4 kB / 479.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.5557, allocations: 490.5 kB / 479.9 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.5563, allocations: 78.8 kB / 480 MB, free: 3.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.5589, allocations: 1.109 MB / 481.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.5594, allocations: 0.9199 MB / 482 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.5598, allocations: 64.75 kB / 482.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.56, allocations: 47.42 kB / 482.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.56, allocations: 0 / 482.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of Templates: time 0.02206/0.5821, allocations: 12.39 MB / 494.5 MB, free: 4.805 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)