Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008513/0.008513, allocations: 100 kB / 15.73 MB, free: 5.965 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.001785/0.001785, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001354/0.001354, allocations: 57.39 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09512, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005812/0.101, allocations: 4.288 MB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1041, allocations: 1.637 MB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005398/0.1047, allocations: 12 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.1052, allocations: 126.7 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1066, allocations: 369.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1073, allocations: 231.7 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1085, allocations: 0.9744 MB / 380.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.109, allocations: 245.3 kB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.1096, allocations: 378.7 kB / 381.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.1103, allocations: 430.2 kB / 381.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.1104, allocations: 96 kB / 381.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.1109, allocations: 219.9 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1111, allocations: 195.3 kB / 382.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005336/0.1117, allocations: 422.1 kB / 382.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1129, allocations: 1.16 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1129, allocations: 0 / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.113, allocations: 0 / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.113, allocations: 3.938 kB / 383.9 MB, free: 6.539 MB / 318.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.002997/0.116, allocations: 1.091 MB / 385 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1161, allocations: 15.89 kB / 385 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.1163, allocations: 84 kB / 385.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1174, allocations: 0.5068 MB / 385.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.1175, allocations: 67.58 kB / 385.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.1177, allocations: 80.42 kB / 385.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.119, allocations: 0.5981 MB / 386.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.119, allocations: 3.938 kB / 386.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1191, allocations: 20 kB / 386.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1191, allocations: 16 kB / 386.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1202, allocations: 0.5282 MB / 386.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.124, allocations: 2.291 MB / 389.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.125, allocations: 470.3 kB / 389.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.1255, allocations: 266.1 kB / 389.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1256, allocations: 4 kB / 389.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.1256, allocations: 46.48 kB / 390 MB, free: 224 kB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.525e-06/0.1256, allocations: 4 kB / 390 MB, free: 220 kB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.0132/0.1389, allocations: 3.546 MB / 393.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.139, allocations: 89.67 kB / 393.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.1398, allocations: 0.5409 MB / 394.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.1398, allocations: 37.7 kB / 394.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1401, allocations: 312.3 kB / 394.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.1403, allocations: 205 kB / 394.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.1405, allocations: 114.2 kB / 394.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1407, allocations: 366.8 kB / 395.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.1413, allocations: 253.2 kB / 395.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/0.1419, allocations: 348.4 kB / 395.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.1431, allocations: 0.5981 MB / 396.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1431, allocations: 0 / 396.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001593/0.1447, allocations: 0.7491 MB / 397.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1447, allocations: 4 kB / 397.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1448, allocations: 7.938 kB / 397.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.1449, allocations: 28.84 kB / 397.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.1458, allocations: 171.8 kB / 397.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.147, allocations: 1.42 MB / 398.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/0.1476, allocations: 47.98 kB / 398.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.1477, allocations: 23.98 kB / 398.8 MB, free: 7.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.148, allocations: 201.7 kB / 399 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.1481, allocations: 59.39 kB / 399 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.1501, allocations: 0.8452 MB / 399.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1501, allocations: 7.938 kB / 399.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1501, allocations: 3.938 kB / 399.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.1502, allocations: 11.98 kB / 399.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.1542, allocations: 1.845 MB / 401.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1542, allocations: 0 / 401.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.1548, allocations: 107.9 kB / 401.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.1571, allocations: 472.3 kB / 402.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.1572, allocations: 16 kB / 402.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/0.1625, allocations: 3.154 MB / 405.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1625, allocations: 0 / 405.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.1656, allocations: 1.375 MB / 406.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.166, allocations: 208.3 kB / 407.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.1662, allocations: 12 kB / 407.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.1668, allocations: 43.97 kB / 407.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.167, allocations: 52.48 kB / 407.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.167, allocations: 16 kB / 407.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00058/0.1676, allocations: 386.9 kB / 407.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1676, allocations: 0 / 407.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008693/0.1685, allocations: 184 kB / 407.7 MB, free: 13.79 MB / 350.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.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003137/0.1688, allocations: 151.2 kB / 407.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1704, allocations: 0.7364 MB / 408.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1705, allocations: 4 kB / 408.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009286/0.1714, allocations: 0.5178 MB / 409.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.1721, allocations: 101.8 kB / 409.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.1751, allocations: 1.444 MB / 410.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.1756, allocations: 0.9042 MB / 411.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.176, allocations: 76.8 kB / 411.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.1761, allocations: 51.42 kB / 411.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1761, allocations: 0 / 411.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Templates: time 0.01955/0.1957, allocations: 10.4 MB / 422.1 MB, free: 15.3 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)