Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001668/0.001668, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.446/1.446, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.002188/0.002188, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2144, allocations: 46.63 MB / 324.9 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005093/0.2196, allocations: 4.324 MB / 329.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.2226, allocations: 1.611 MB / 330.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.2231, allocations: 11.72 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.2236, allocations: 97.55 kB / 330.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008773/0.2245, allocations: 319.2 kB / 331.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.2249, allocations: 211.7 kB / 331.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009969/0.2259, allocations: 0.9678 MB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.2263, allocations: 234.4 kB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.227, allocations: 375.7 kB / 333 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.2276, allocations: 435.3 kB / 333.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2277, allocations: 96 kB / 333.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.2281, allocations: 213 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2283, allocations: 199.3 kB / 333.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.2287, allocations: 418.1 kB / 334.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.2298, allocations: 1.156 MB / 335.5 MB, free: 9.438 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2298, allocations: 0 / 335.5 MB, free: 9.438 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2298, allocations: 0 / 335.5 MB, free: 9.438 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2299, allocations: 0 / 335.5 MB, free: 9.438 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.002441/0.2323, allocations: 1.091 MB / 336.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2324, allocations: 11.89 kB / 336.6 MB, free: 8.281 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.2325, allocations: 76.09 kB / 336.6 MB, free: 8.207 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.2332, allocations: 0.5145 MB / 337.2 MB, free: 7.656 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.2334, allocations: 75.58 kB / 337.2 MB, free: 7.578 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.2336, allocations: 68.48 kB / 337.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2348, allocations: 0.6019 MB / 337.9 MB, free: 6.891 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2348, allocations: 8 kB / 337.9 MB, free: 6.883 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.2349, allocations: 20 kB / 337.9 MB, free: 6.863 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.2349, allocations: 12 kB / 337.9 MB, free: 6.852 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.236, allocations: 0.5282 MB / 338.5 MB, free: 6.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.2395, allocations: 2.314 MB / 340.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009788/0.2405, allocations: 469.2 kB / 341.2 MB, free: 3.418 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.241, allocations: 266.1 kB / 341.5 MB, free: 3.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2411, allocations: 4.234 kB / 341.5 MB, free: 3.148 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2411, allocations: 42.56 kB / 341.6 MB, free: 3.098 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.2411, allocations: 0 / 341.6 MB, free: 3.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01382/0.2549, allocations: 3.546 MB / 345.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.255, allocations: 85.67 kB / 345.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.2557, allocations: 0.5448 MB / 345.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.2558, allocations: 33.7 kB / 345.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.256, allocations: 312.3 kB / 346.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2562, allocations: 212.9 kB / 346.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2564, allocations: 110.2 kB / 346.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2566, allocations: 370.8 kB / 346.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.2571, allocations: 249.2 kB / 347 MB, free: 13.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.2577, allocations: 348.4 kB / 347.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2589, allocations: 0.602 MB / 347.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2589, allocations: 0 / 347.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001528/0.2604, allocations: 0.7449 MB / 348.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2605, allocations: 12.31 kB / 348.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2605, allocations: 0 / 348.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.2606, allocations: 28.84 kB / 348.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.2615, allocations: 167.7 kB / 348.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2625, allocations: 1.432 MB / 350.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.2632, allocations: 39.83 kB / 350.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.2632, allocations: 27.98 kB / 350.4 MB, free: 9.895 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.0003139/0.2636, allocations: 193.7 kB / 350.6 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.2637, allocations: 63.48 kB / 350.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2655, allocations: 0.849 MB / 351.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.2655, allocations: 15.94 kB / 351.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2655, allocations: 0 / 351.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2655, allocations: 3.984 kB / 351.5 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.2691, allocations: 1.839 MB / 353.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.2692, allocations: 7.938 kB / 353.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.2697, allocations: 107.8 kB / 353.4 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/0.2722, allocations: 472.3 kB / 353.9 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.2722, allocations: 16 kB / 353.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.2771, allocations: 3.161 MB / 357.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2772, allocations: 0 / 357.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.2801, allocations: 1.366 MB / 358.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.2804, allocations: 212.2 kB / 358.7 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.2805, allocations: 15.94 kB / 358.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.2812, allocations: 47.97 kB / 358.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.2813, allocations: 48.42 kB / 358.8 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.2814, allocations: 24 kB / 358.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000439/0.2818, allocations: 386.9 kB / 359.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2819, allocations: 0 / 359.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.2826, allocations: 180 kB / 359.3 MB, free: 0.6641 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.0002816/0.2829, allocations: 151.1 kB / 359.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2846, allocations: 0.7598 MB / 360.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2846, allocations: 0 / 360.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.2855, allocations: 0.5178 MB / 360.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.2864, allocations: 89.81 kB / 360.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.2892, allocations: 1.758 MB / 362.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.2898, allocations: 0.9004 MB / 363.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.2902, allocations: 72.8 kB / 363.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.2904, allocations: 47.41 kB / 363.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2904, allocations: 7.938 kB / 363.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01683/0.3072, allocations: 10.09 MB / 373.7 MB, free: 2.164 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)