Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001686/0.001686, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.000488/0.0004883, allocations: 19.98 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 47.57 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003329/0.2352, allocations: 2.857 MB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.2378, allocations: 1.33 MB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.2381, allocations: 9.188 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.2406, allocations: 1.71 MB / 332.4 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.2411, allocations: 141.9 kB / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.2419, allocations: 237.2 kB / 332.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.2443, allocations: 1.383 MB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.2446, allocations: 106.7 kB / 334.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.2451, allocations: 283.1 kB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.2455, allocations: 310.9 kB / 334.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.2456, allocations: 24 kB / 334.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.2458, allocations: 51.98 kB / 334.9 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007833/0.2466, allocations: 0.8298 MB / 335.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.247, allocations: 384.3 kB / 336.1 MB, free: 9.836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.2487, allocations: 2.083 MB / 338.2 MB, free: 7.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2487, allocations: 0 / 338.2 MB, free: 7.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2487, allocations: 4 kB / 338.2 MB, free: 7.746 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.2487, allocations: 0 / 338.2 MB, free: 7.746 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00373/0.2525, allocations: 2.438 MB / 340.6 MB, free: 5.246 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.2525, allocations: 12.03 kB / 340.6 MB, free: 5.234 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.2529, allocations: 276.3 kB / 340.9 MB, free: 4.961 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2552, allocations: 1.685 MB / 342.6 MB, free: 3.219 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.2553, allocations: 62.7 kB / 342.7 MB, free: 3.152 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.2555, allocations: 51.97 kB / 342.7 MB, free: 3.102 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.2563, allocations: 394.9 kB / 343.1 MB, free: 2.703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2563, allocations: 0 / 343.1 MB, free: 2.703 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.2563, allocations: 16 kB / 343.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2563, allocations: 8 kB / 343.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.257, allocations: 335.7 kB / 343.4 MB, free: 2.352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.2613, allocations: 2.915 MB / 346.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.262, allocations: 322.1 kB / 346.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2623, allocations: 157.7 kB / 346.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.2624, allocations: 16.55 kB / 346.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2624, allocations: 38.55 kB / 346.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/0.2624, allocations: 0 / 346.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004824/0.2673, allocations: 2.374 MB / 349.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.2673, allocations: 81.55 kB / 349.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006781/0.2741, allocations: 5.442 MB / 354.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.832e-05/0.2743, allocations: 37.73 kB / 354.8 MB, free: 6.754 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.2754, allocations: 1.211 MB / 356 MB, free: 5.539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.2756, allocations: 169.5 kB / 356.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.2756, allocations: 4 kB / 356.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2757, allocations: 326 kB / 356.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.2761, allocations: 137 kB / 356.6 MB, free: 4.906 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.2764, allocations: 229.6 kB / 356.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.2768, allocations: 164.8 kB / 357 MB, free: 4.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2769, allocations: 0 / 357 MB, free: 4.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001445/0.2783, allocations: 0.6803 MB / 357.7 MB, free: 3.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2783, allocations: 8 kB / 357.7 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2784, allocations: 4 kB / 357.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2784, allocations: 4 kB / 357.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.2789, allocations: 119.8 kB / 357.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.2789, allocations: 15.88 kB / 357.9 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.2794, allocations: 16 kB / 357.9 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2795, allocations: 20.03 kB / 357.9 MB, free: 3.621 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.2807, allocations: 0.923 MB / 358.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.2811, allocations: 276.4 kB / 359.1 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2827, allocations: 0.7747 MB / 359.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2827, allocations: 4 kB / 359.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2827, allocations: 0 / 359.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2827, allocations: 11.97 kB / 359.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.2845, allocations: 1.465 MB / 361.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2846, allocations: 0 / 361.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.285, allocations: 91.88 kB / 361.4 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/0.2853, allocations: 96.69 kB / 361.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2854, allocations: 12 kB / 361.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005763/0.286, allocations: 0.6305 MB / 362.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.286, allocations: 4 kB / 362.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.2876, allocations: 1.061 MB / 363.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006807/0.2883, allocations: 0.4897 MB / 363.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.2885, allocations: 15.94 kB / 363.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.2889, allocations: 20 kB / 363.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.289, allocations: 28.39 kB / 363.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2891, allocations: 19.98 kB / 363.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004609/0.2937, allocations: 3.977 MB / 367.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2937, allocations: 0 / 367.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008413/0.2945, allocations: 204 kB / 368 MB, free: 9.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009908/0.2955, allocations: 417.4 kB / 368.4 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.2964, allocations: 381.3 kB / 368.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2964, allocations: 0 / 368.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.2968, allocations: 218.4 kB / 369 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2979, allocations: 179.4 kB / 369.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008/0.306, allocations: 5.942 MB / 375.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.3076, allocations: 1.81 MB / 376.9 MB, free: 404 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006621/0.3083, allocations: 267.6 kB / 377.2 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.3086, allocations: 87.44 kB / 377.2 MB, free: 44 kB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3086, allocations: 4 kB / 377.3 MB, free: 40 kB / 302.1 MB Notification: Performance of Templates: time 0.03088/0.3395, allocations: 13.92 MB / 391.2 MB, free: 2.098 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)