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.000882/0.0008818, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005534/0.005534, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.357/1.357, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004209/0.0004209, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003993/0.227, allocations: 3.929 MB / 331 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.2302, allocations: 1.623 MB / 332.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.2306, allocations: 11.38 kB / 332.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.231, allocations: 98.55 kB / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007796/0.2318, allocations: 305.3 kB / 333 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.2322, allocations: 195.8 kB / 333.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009107/0.2331, allocations: 0.9195 MB / 334.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2334, allocations: 206.1 kB / 334.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.2338, allocations: 315.6 kB / 334.6 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.2343, allocations: 369.9 kB / 335 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.2344, allocations: 42.03 kB / 335 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.2347, allocations: 160 kB / 335.2 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2349, allocations: 143.3 kB / 335.3 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.2352, allocations: 379.8 kB / 335.7 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.2361, allocations: 1.097 MB / 336.8 MB, free: 9.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2361, allocations: 0 / 336.8 MB, free: 9.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2361, allocations: 0 / 336.8 MB, free: 9.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2361, allocations: 4 kB / 336.8 MB, free: 9.586 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.002104/0.2383, allocations: 0.9704 MB / 337.8 MB, free: 8.562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2383, allocations: 8.031 kB / 337.8 MB, free: 8.555 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2385, allocations: 84 kB / 337.9 MB, free: 8.473 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.2391, allocations: 0.5145 MB / 338.4 MB, free: 7.918 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.2392, allocations: 67.58 kB / 338.4 MB, free: 7.848 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.2394, allocations: 72.48 kB / 338.5 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2406, allocations: 0.6136 MB / 339.1 MB, free: 7.145 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2406, allocations: 4 kB / 339.1 MB, free: 7.141 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.2407, allocations: 20 kB / 339.1 MB, free: 7.121 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.2407, allocations: 12 kB / 339.2 MB, free: 7.109 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2418, allocations: 0.5399 MB / 339.7 MB, free: 6.566 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.2452, allocations: 2.322 MB / 342 MB, free: 4.133 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2462, allocations: 497.1 kB / 342.5 MB, free: 3.629 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.2468, allocations: 282.1 kB / 342.8 MB, free: 3.348 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2468, allocations: 4 kB / 342.8 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2468, allocations: 38.56 kB / 342.8 MB, free: 3.297 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.2468, allocations: 0 / 342.8 MB, free: 3.297 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01318/0.26, allocations: 3.699 MB / 346.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2601, allocations: 81.67 kB / 346.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.2608, allocations: 0.5409 MB / 347.1 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.2609, allocations: 33.7 kB / 347.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.2611, allocations: 312.3 kB / 347.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.2613, allocations: 208.9 kB / 347.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.2614, allocations: 53.69 kB / 347.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.2616, allocations: 366.8 kB / 348.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/0.2622, allocations: 269.1 kB / 348.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.2628, allocations: 352.4 kB / 348.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.2641, allocations: 0.6254 MB / 349.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2641, allocations: 0 / 349.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001632/0.2657, allocations: 0.7685 MB / 350.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2658, allocations: 12 kB / 350.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2658, allocations: 0 / 350.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.266, allocations: 36.78 kB / 350.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.2668, allocations: 163.8 kB / 350.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.2678, allocations: 1.337 MB / 351.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.2684, allocations: 40.05 kB / 351.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.2685, allocations: 31.98 kB / 351.7 MB, free: 10.04 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.0003381/0.2688, allocations: 197.7 kB / 351.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.269, allocations: 59.33 kB / 352 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.2709, allocations: 0.8686 MB / 352.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2709, allocations: 8 kB / 352.8 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2709, allocations: 0 / 352.8 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2709, allocations: 7.922 kB / 352.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.2747, allocations: 1.886 MB / 354.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2747, allocations: 8 kB / 354.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.2753, allocations: 111.9 kB / 354.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/0.2778, allocations: 0.4964 MB / 355.3 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.2778, allocations: 23.98 kB / 355.4 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/0.2827, allocations: 2.955 MB / 358.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2827, allocations: 0 / 358.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.2857, allocations: 1.409 MB / 359.7 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.286, allocations: 212.2 kB / 359.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.2861, allocations: 12 kB / 359.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.2867, allocations: 51.97 kB / 360 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2869, allocations: 44.48 kB / 360 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.2869, allocations: 27.92 kB / 360.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004701/0.2874, allocations: 386.9 kB / 360.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2874, allocations: 0 / 360.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007159/0.2881, allocations: 188 kB / 360.6 MB, free: 0.8594 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.0002656/0.2884, allocations: 143.1 kB / 360.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2899, allocations: 0.756 MB / 361.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2899, allocations: 0 / 361.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.2908, allocations: 0.5334 MB / 362.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.2916, allocations: 101.9 kB / 362.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.2944, allocations: 1.846 MB / 364 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2948, allocations: 0.9046 MB / 364.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.2952, allocations: 72.75 kB / 365 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.2954, allocations: 55.41 kB / 365 MB, free: 12.36 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2954, allocations: 0 / 365 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Templates: time 0.0162/0.3116, allocations: 9.574 MB / 374.6 MB, free: 2.773 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)