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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.961 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.001122/0.001122, allocations: 47.94 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2254, allocations: 46.63 MB / 324.7 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005014/0.2304, allocations: 4.328 MB / 329 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2333, allocations: 1.633 MB / 330.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.2337, allocations: 16.5 kB / 330.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.2341, allocations: 97.08 kB / 330.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.2349, allocations: 310.9 kB / 331.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.2353, allocations: 203.5 kB / 331.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.2361, allocations: 0.9109 MB / 332.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.2364, allocations: 211.5 kB / 332.4 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.2368, allocations: 325.3 kB / 332.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.2373, allocations: 392.2 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.2374, allocations: 49.62 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.2377, allocations: 169.5 kB / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2379, allocations: 150.8 kB / 333.4 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.2382, allocations: 368.9 kB / 333.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.2391, allocations: 1.124 MB / 334.9 MB, free: 9.922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2391, allocations: 0 / 334.9 MB, free: 9.922 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2391, allocations: 0 / 334.9 MB, free: 9.922 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2392, allocations: 0 / 334.9 MB, free: 9.922 MB / 270.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.002329/0.2415, allocations: 1.095 MB / 336 MB, free: 8.773 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2415, allocations: 8.031 kB / 336 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2417, allocations: 76.09 kB / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.2423, allocations: 0.5106 MB / 336.6 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.2424, allocations: 71.58 kB / 336.7 MB, free: 8.066 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.2426, allocations: 68.48 kB / 336.7 MB, free: 8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.2437, allocations: 0.6058 MB / 337.4 MB, free: 7.375 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2437, allocations: 0 / 337.4 MB, free: 7.375 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.2438, allocations: 24 kB / 337.4 MB, free: 7.352 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2438, allocations: 16 kB / 337.4 MB, free: 7.336 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2449, allocations: 0.5282 MB / 337.9 MB, free: 6.805 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.2482, allocations: 2.31 MB / 340.2 MB, free: 4.383 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.2491, allocations: 485 kB / 340.7 MB, free: 3.891 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.2496, allocations: 266.1 kB / 341 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2497, allocations: 4 kB / 341 MB, free: 3.621 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2497, allocations: 38.56 kB / 341 MB, free: 3.574 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.2497, allocations: 0 / 341 MB, free: 3.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01281/0.2625, allocations: 3.546 MB / 344.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2626, allocations: 81.67 kB / 344.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.2633, allocations: 0.537 MB / 345.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.2634, allocations: 37.7 kB / 345.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.2636, allocations: 312.3 kB / 345.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2638, allocations: 212.9 kB / 345.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.264, allocations: 118.2 kB / 345.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2641, allocations: 366.8 kB / 346.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2646, allocations: 245.1 kB / 346.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.2653, allocations: 352.4 kB / 346.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2664, allocations: 0.598 MB / 347.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2664, allocations: 0 / 347.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001522/0.2679, allocations: 0.7449 MB / 348.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.268, allocations: 8 kB / 348.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.268, allocations: 7.938 kB / 348.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.2682, allocations: 37.16 kB / 348.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.269, allocations: 163.7 kB / 348.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.27, allocations: 1.329 MB / 349.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.2706, allocations: 35.97 kB / 349.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.2707, allocations: 23.98 kB / 349.7 MB, free: 10.49 MB / 286.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.0002753/0.2709, allocations: 205.7 kB / 349.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.2711, allocations: 59.25 kB / 350 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.2729, allocations: 0.8414 MB / 350.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2729, allocations: 11.97 kB / 350.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.2729, allocations: 4 kB / 350.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2729, allocations: 0 / 350.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.2766, allocations: 1.854 MB / 352.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2766, allocations: 0 / 352.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.2771, allocations: 111.9 kB / 352.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.2795, allocations: 468.3 kB / 353.3 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.2795, allocations: 19.98 kB / 353.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.2844, allocations: 2.889 MB / 356.2 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2844, allocations: 4.031 kB / 356.2 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.2874, allocations: 1.366 MB / 357.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.2877, allocations: 208.3 kB / 357.7 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2878, allocations: 16 kB / 357.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/0.2884, allocations: 39.97 kB / 357.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2886, allocations: 48.48 kB / 357.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.2886, allocations: 19.94 kB / 357.9 MB, free: 2.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004715/0.2891, allocations: 386.9 kB / 358.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2891, allocations: 4 kB / 358.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.2898, allocations: 184 kB / 358.4 MB, free: 1.531 MB / 286.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.0002697/0.2901, allocations: 147.1 kB / 358.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.2916, allocations: 0.7401 MB / 359.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2916, allocations: 0 / 359.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.2926, allocations: 0.5179 MB / 359.8 MB, free: 100 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.2935, allocations: 97.8 kB / 359.9 MB, free: 0 / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.2966, allocations: 1.732 MB / 361.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.2972, allocations: 0.9007 MB / 362.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004032/0.2977, allocations: 72.81 kB / 362.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.2979, allocations: 51.41 kB / 362.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.057e-06/0.2979, allocations: 3.938 kB / 362.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01804/0.3159, allocations: 9.665 MB / 372.3 MB, free: 3.508 MB / 302.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)