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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 86.67 kB / 16.31 MB, free: 6.449 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.001641/0.001641, allocations: 183.4 kB / 17.21 MB, free: 6.316 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.789/1.789, allocations: 205.4 MB / 223.4 MB, free: 5.254 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.0004936/0.0004938, allocations: 8 kB / 280.1 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 47.59 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004339/0.2763, allocations: 3.727 MB / 331.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2791, allocations: 1.541 MB / 333 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.2794, allocations: 8.25 kB / 333 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.2797, allocations: 95.86 kB / 333.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.2804, allocations: 291.2 kB / 333.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.2807, allocations: 147.8 kB / 333.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009607/0.2817, allocations: 0.8638 MB / 334.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.2821, allocations: 173.4 kB / 334.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.2826, allocations: 303.8 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.2831, allocations: 362.2 kB / 335.2 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.432e-05/0.2832, allocations: 42.16 kB / 335.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.2836, allocations: 154.9 kB / 335.4 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.2838, allocations: 143.2 kB / 335.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.2839, allocations: 154.6 kB / 335.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.2848, allocations: 0.8893 MB / 336.6 MB, free: 10.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2848, allocations: 4 kB / 336.6 MB, free: 10.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2848, allocations: 0 / 336.6 MB, free: 10.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2848, allocations: 0 / 336.6 MB, free: 10.56 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.002154/0.287, allocations: 0.9857 MB / 337.6 MB, free: 9.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2871, allocations: 8.031 kB / 337.6 MB, free: 9.512 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2872, allocations: 79.06 kB / 337.7 MB, free: 9.434 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.2879, allocations: 0.4902 MB / 338.2 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.288, allocations: 71 kB / 338.2 MB, free: 8.828 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.2882, allocations: 67.94 kB / 338.3 MB, free: 8.762 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2893, allocations: 0.602 MB / 338.9 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2893, allocations: 0 / 338.9 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.2894, allocations: 24 kB / 338.9 MB, free: 8.117 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.2894, allocations: 12 kB / 338.9 MB, free: 8.105 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2905, allocations: 0.536 MB / 339.5 MB, free: 7.566 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.2939, allocations: 2.338 MB / 341.8 MB, free: 5.121 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2949, allocations: 497.6 kB / 342.3 MB, free: 4.617 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.2955, allocations: 270.1 kB / 342.6 MB, free: 4.348 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.2955, allocations: 8.234 kB / 342.6 MB, free: 4.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2956, allocations: 38.56 kB / 342.6 MB, free: 4.293 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.2956, allocations: 0 / 342.6 MB, free: 4.293 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01201/0.3076, allocations: 3.695 MB / 346.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3077, allocations: 81.67 kB / 346.4 MB, free: 416 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.3085, allocations: 0.5293 MB / 346.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.3085, allocations: 37.7 kB / 346.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.3088, allocations: 320.2 kB / 347.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.309, allocations: 205 kB / 347.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.309, allocations: 23.98 kB / 347.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3092, allocations: 370.7 kB / 347.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.3098, allocations: 253.2 kB / 348.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.3104, allocations: 352.4 kB / 348.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.311, allocations: 290.1 kB / 348.7 MB, free: 14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.311, allocations: 11.88 kB / 348.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001585/0.3126, allocations: 0.753 MB / 349.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3127, allocations: 11.95 kB / 349.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3127, allocations: 4 kB / 349.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.3129, allocations: 32.83 kB / 349.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.3138, allocations: 171.8 kB / 349.7 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3151, allocations: 1.333 MB / 351 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.3158, allocations: 39.98 kB / 351.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.3158, allocations: 27.98 kB / 351.1 MB, free: 11.47 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.3163, allocations: 197.7 kB / 351.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.3165, allocations: 67.27 kB / 351.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3185, allocations: 0.8608 MB / 352.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3185, allocations: 12 kB / 352.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3185, allocations: 0 / 352.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3185, allocations: 4.125 kB / 352.2 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.3225, allocations: 1.882 MB / 354.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3226, allocations: 4 kB / 354.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.3231, allocations: 107.9 kB / 354.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.3254, allocations: 0.4925 MB / 354.7 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.3255, allocations: 19.92 kB / 354.7 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005078/0.3306, allocations: 2.955 MB / 357.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3306, allocations: 0 / 357.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.3337, allocations: 1.405 MB / 359.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.334, allocations: 208.3 kB / 359.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3342, allocations: 16 kB / 359.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.3348, allocations: 47.97 kB / 359.4 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3349, allocations: 52.44 kB / 359.4 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.3349, allocations: 20 kB / 359.4 MB, free: 2.879 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.3355, allocations: 390.8 kB / 359.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3355, allocations: 0 / 359.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007492/0.3362, allocations: 192.1 kB / 360 MB, free: 2.312 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 (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.0003032/0.3365, allocations: 143 kB / 360.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.3381, allocations: 0.7521 MB / 360.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3381, allocations: 4 kB / 360.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.3391, allocations: 0.5295 MB / 361.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.3398, allocations: 93.92 kB / 361.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.3428, allocations: 1.826 MB / 363.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3432, allocations: 0.9007 MB / 364.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.3436, allocations: 72.81 kB / 364.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3438, allocations: 47.41 kB / 364.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3438, allocations: 4 kB / 364.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Templates: time 0.01684/0.3606, allocations: 9.299 MB / 373.7 MB, free: 4.539 MB / 302.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)