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.0008969/0.0008968, allocations: 187.5 kB / 8.352 MB, free: 0.707 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.317/1.317, allocations: 194.3 MB / 203.1 MB, free: 9.309 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 116.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.543e-05, allocations: 0 / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08468, allocations: 44.51 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3881, allocations: 84.55 MB / 427.1 MB, free: 11.32 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.3884, allocations: 78.08 kB / 427.2 MB, free: 11.28 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04041/0.4288, allocations: 15.32 MB / 442.5 MB, free: 14.86 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4289, allocations: 0 / 442.5 MB, free: 14.86 MB / 331.1 MB Notification: Performance of Transformations before backend: time 5.998e-05/0.4289, allocations: 16 kB / 442.5 MB, free: 14.85 MB / 331.1 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.001989/0.4309, allocations: 0.8497 MB / 443.4 MB, free: 14 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.431, allocations: 12.03 kB / 443.4 MB, free: 13.98 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.4313, allocations: 77.03 kB / 443.5 MB, free: 13.91 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.4322, allocations: 0.502 MB / 444 MB, free: 13.47 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.4323, allocations: 53.95 kB / 444 MB, free: 13.42 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.4325, allocations: 43.98 kB / 444.1 MB, free: 13.38 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008287/0.4334, allocations: 445.9 kB / 444.5 MB, free: 13.11 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.4342, allocations: 0.4919 MB / 445 MB, free: 12.74 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4343, allocations: 0 / 445 MB, free: 12.74 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.4343, allocations: 0 / 445 MB, free: 12.74 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4343, allocations: 19.95 kB / 445 MB, free: 12.72 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.438, allocations: 2.208 MB / 447.2 MB, free: 10.96 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.4387, allocations: 412.3 kB / 447.6 MB, free: 10.7 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.439, allocations: 237.2 kB / 447.9 MB, free: 10.55 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.4391, allocations: 4 kB / 447.9 MB, free: 10.54 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.4391, allocations: 44.17 kB / 447.9 MB, free: 10.5 MB / 331.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.4391, allocations: 0 / 447.9 MB, free: 10.5 MB / 331.1 MB Notification: Performance of matching and sorting (n=61): time 0.008876/0.448, allocations: 2.539 MB / 450.5 MB, free: 8.387 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4481, allocations: 81.67 kB / 450.5 MB, free: 8.289 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.4488, allocations: 435 kB / 451 MB, free: 7.977 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.4489, allocations: 25.7 kB / 451 MB, free: 7.945 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.4491, allocations: 324.5 kB / 451.3 MB, free: 7.707 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4493, allocations: 203.1 kB / 451.5 MB, free: 7.531 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4493, allocations: 0 / 451.5 MB, free: 7.531 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4495, allocations: 363.9 kB / 451.9 MB, free: 7.188 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.4499, allocations: 211.3 kB / 452.1 MB, free: 7.082 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.4503, allocations: 303.8 kB / 452.4 MB, free: 6.859 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.4507, allocations: 245.2 kB / 452.6 MB, free: 6.727 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4507, allocations: 0 / 452.6 MB, free: 6.727 MB / 331.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006672/0.4574, allocations: 1.727 MB / 454.3 MB, free: 5.289 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.4574, allocations: 8 kB / 454.3 MB, free: 5.281 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4575, allocations: 0 / 454.3 MB, free: 5.281 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006269/0.4637, allocations: 1.162 MB / 455.5 MB, free: 4.27 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.4643, allocations: 95.58 kB / 455.6 MB, free: 4.18 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.4765, allocations: 5.651 MB / 461.2 MB, free: 228 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.4773, allocations: 35.94 kB / 461.3 MB, free: 192 kB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.4774, allocations: 27.23 kB / 461.3 MB, free: 172 kB / 331.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.transformer.core.port_p.V_m:DUMMY_DER(flow=false fixed = false ) "Magnetic potential at the port" type: Real 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.0002855/0.4777, allocations: 120.6 kB / 461.4 MB, free: 44 kB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.4779, allocations: 55.52 kB / 461.5 MB, free: 15.98 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.4794, allocations: 0.7064 MB / 462.2 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4794, allocations: 15.98 kB / 462.2 MB, free: 15.39 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4794, allocations: 3.953 kB / 462.2 MB, free: 15.39 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4795, allocations: 3.984 kB / 462.2 MB, free: 15.38 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.4829, allocations: 1.695 MB / 463.9 MB, free: 13.64 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4829, allocations: 0 / 463.9 MB, free: 13.64 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.4836, allocations: 115.8 kB / 464 MB, free: 13.53 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.4853, allocations: 333.9 kB / 464.3 MB, free: 13.2 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.4854, allocations: 11.98 kB / 464.3 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/0.4898, allocations: 2.734 MB / 467.1 MB, free: 10.35 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.4899, allocations: 0 / 467.1 MB, free: 10.35 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.4923, allocations: 1.22 MB / 468.3 MB, free: 9.102 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.4927, allocations: 204.3 kB / 468.5 MB, free: 8.883 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4928, allocations: 4 kB / 468.5 MB, free: 8.879 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.4935, allocations: 35.97 kB / 468.5 MB, free: 8.844 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4936, allocations: 52.48 kB / 468.6 MB, free: 8.793 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.4937, allocations: 19.98 kB / 468.6 MB, free: 8.773 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004721/0.4941, allocations: 339 kB / 468.9 MB, free: 8.445 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4941, allocations: 4 kB / 468.9 MB, free: 8.441 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009999/0.4952, allocations: 188.1 kB / 469.1 MB, free: 8.258 MB / 347.1 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.0004414/0.4956, allocations: 151.1 kB / 469.3 MB, free: 8.098 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4971, allocations: 0.7685 MB / 470 MB, free: 7.32 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4971, allocations: 4.125 kB / 470 MB, free: 7.316 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.4978, allocations: 464.1 kB / 470.5 MB, free: 6.855 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.4983, allocations: 58.02 kB / 470.6 MB, free: 6.801 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.5007, allocations: 1.07 MB / 471.6 MB, free: 5.707 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.5014, allocations: 0.9272 MB / 472.6 MB, free: 4.746 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003364/0.5017, allocations: 56.53 kB / 472.6 MB, free: 4.691 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.5019, allocations: 43.42 kB / 472.6 MB, free: 4.648 MB / 347.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5019, allocations: 4 kB / 472.7 MB, free: 4.645 MB / 347.1 MB Notification: Performance of Templates: time 0.01977/0.5217, allocations: 10.84 MB / 483.5 MB, free: 9.863 MB / 363.1 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)