Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.391/1.391, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001644/0.001644, allocations: 129.4 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.496e-05, allocations: 4 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07929/0.07932, allocations: 44.5 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.3813, allocations: 78.26 MB / 420.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.3816, allocations: 81.08 kB / 420.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06699/0.4486, allocations: 37.82 MB / 458.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4486, allocations: 0 / 458.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002769/0.4489, allocations: 32 kB / 458.8 MB, free: 4.637 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003229/0.4521, allocations: 1.99 MB / 460.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4522, allocations: 12.03 kB / 460.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.4526, allocations: 288.3 kB / 461 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.4553, allocations: 1.859 MB / 462.9 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.4554, allocations: 50.42 kB / 463 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4556, allocations: 30.69 kB / 463 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004555/0.456, allocations: 277.7 kB / 463.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.4565, allocations: 317.9 kB / 463.6 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4565, allocations: 4 kB / 463.6 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.4566, allocations: 4 kB / 463.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4566, allocations: 11.94 kB / 463.6 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.4603, allocations: 3.001 MB / 466.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.4607, allocations: 289 kB / 466.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.4609, allocations: 139.4 kB / 467 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4609, allocations: 7.312 kB / 467 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.461, allocations: 41.81 kB / 467 MB, free: 13.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.695e-06/0.461, allocations: 0 / 467 MB, free: 13.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.002995/0.464, allocations: 2.028 MB / 469.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.464, allocations: 81.55 kB / 469.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007473/0.4715, allocations: 4.676 MB / 473.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.4716, allocations: 25.7 kB / 473.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009331/0.4725, allocations: 1.154 MB / 475 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.4727, allocations: 164.7 kB / 475.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.4727, allocations: 0 / 475.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4728, allocations: 328.2 kB / 475.5 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.473, allocations: 128.7 kB / 475.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.4733, allocations: 194.5 kB / 475.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.4736, allocations: 164 kB / 476 MB, free: 7.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4736, allocations: 0 / 476 MB, free: 7.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001116/0.4747, allocations: 0.7059 MB / 476.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.4748, allocations: 55.41 kB / 476.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.4748, allocations: 4 kB / 476.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.4753, allocations: 144.8 kB / 476.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.4757, allocations: 95.89 kB / 477 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008361/0.4765, allocations: 0.7708 MB / 477.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.477, allocations: 19.92 kB / 477.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.4771, allocations: 24.06 kB / 477.8 MB, free: 5.27 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.4773, allocations: 116.6 kB / 477.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.4777, allocations: 276.5 kB / 478.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4788, allocations: 0.7156 MB / 478.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4788, allocations: 7.938 kB / 478.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4788, allocations: 8 kB / 478.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4789, allocations: 3.984 kB / 478.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4806, allocations: 1.617 MB / 480.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4806, allocations: 3.938 kB / 480.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.4811, allocations: 95.83 kB / 480.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.4813, allocations: 96.75 kB / 480.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.4814, allocations: 11.98 kB / 480.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005361/0.4819, allocations: 0.6454 MB / 481.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4819, allocations: 0 / 481.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4832, allocations: 1.028 MB / 482.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.4842, allocations: 0.6618 MB / 483.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.4845, allocations: 11.78 kB / 483.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.485, allocations: 23.98 kB / 483.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.4851, allocations: 32.39 kB / 483.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4851, allocations: 15.98 kB / 483.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004485/0.4896, allocations: 3.625 MB / 486.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4896, allocations: 3.938 kB / 486.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008213/0.4904, allocations: 319.9 kB / 487.1 MB, free: 11.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008168/0.4912, allocations: 342.2 kB / 487.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.492, allocations: 458.3 kB / 487.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.492, allocations: 0 / 487.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.4923, allocations: 189.6 kB / 488 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4931, allocations: 168.6 kB / 488.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.4998, allocations: 4.799 MB / 493 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.5013, allocations: 1.856 MB / 494.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006017/0.502, allocations: 375.3 kB / 495.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.5023, allocations: 131.4 kB / 495.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5023, allocations: 0 / 495.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of Templates: time 0.03166/0.534, allocations: 15.15 MB / 0.4985 GB, free: 4.27 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)