Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009754/0.0009755, 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.007238/0.007238, 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.385/1.385, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004227/0.0004228, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003282/0.2292, allocations: 2.993 MB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.2315, allocations: 1.372 MB / 331.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2317, allocations: 5.062 kB / 331.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.234, allocations: 1.852 MB / 333.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.2344, allocations: 147.1 kB / 333.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.2351, allocations: 263.5 kB / 333.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.2367, allocations: 1.687 MB / 335.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.237, allocations: 119.9 kB / 335.5 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.2373, allocations: 281 kB / 335.7 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.2377, allocations: 294.8 kB / 336 MB, free: 10.35 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.2377, allocations: 20 kB / 336 MB, free: 10.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.2379, allocations: 51.98 kB / 336.1 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.2384, allocations: 0.8257 MB / 336.9 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.239, allocations: 0.909 MB / 337.8 MB, free: 8.531 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.2409, allocations: 2.492 MB / 340.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2409, allocations: 3.938 kB / 340.3 MB, free: 6.027 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2409, allocations: 0 / 340.3 MB, free: 6.027 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.2409, allocations: 4 kB / 340.3 MB, free: 6.023 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.00308/0.244, allocations: 2.399 MB / 342.7 MB, free: 3.562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.244, allocations: 8.031 kB / 342.7 MB, free: 3.555 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.2444, allocations: 281.4 kB / 343 MB, free: 3.277 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.2465, allocations: 1.824 MB / 344.8 MB, free: 1.395 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.2466, allocations: 59.27 kB / 344.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.2467, allocations: 55.86 kB / 344.9 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.2474, allocations: 391 kB / 345.3 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2475, allocations: 4 kB / 345.3 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.2475, allocations: 19.94 kB / 345.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2475, allocations: 12 kB / 345.4 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.2483, allocations: 335.7 kB / 345.7 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.252, allocations: 2.911 MB / 348.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.2526, allocations: 318.1 kB / 348.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.253, allocations: 169.7 kB / 349.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.253, allocations: 4 kB / 349.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2531, allocations: 43.09 kB / 349.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.2531, allocations: 0 / 349.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004833/0.2579, allocations: 2.373 MB / 351.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.258, allocations: 89.58 kB / 351.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006607/0.2646, allocations: 5.427 MB / 357 MB, free: 4.977 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2648, allocations: 37.7 kB / 357.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.2659, allocations: 1.203 MB / 358.3 MB, free: 3.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.2661, allocations: 169.5 kB / 358.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.2661, allocations: 49.69 kB / 358.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2662, allocations: 322 kB / 358.8 MB, free: 3.184 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.2666, allocations: 145 kB / 358.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.267, allocations: 225.6 kB / 359.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.2677, allocations: 384.3 kB / 359.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2677, allocations: 4 kB / 359.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001276/0.269, allocations: 0.6842 MB / 360.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.269, allocations: 4 kB / 360.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.269, allocations: 4 kB / 360.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.269, allocations: 4 kB / 360.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.2695, allocations: 119.9 kB / 360.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2695, allocations: 11.94 kB / 360.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.27, allocations: 23.86 kB / 360.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2701, allocations: 23.94 kB / 360.4 MB, free: 1.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.2711, allocations: 0.9154 MB / 361.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.2714, allocations: 268.4 kB / 361.6 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.2728, allocations: 0.7863 MB / 362.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2729, allocations: 8 kB / 362.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2729, allocations: 0 / 362.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2729, allocations: 0 / 362.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2745, allocations: 1.484 MB / 363.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2745, allocations: 0 / 363.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.2749, allocations: 91.89 kB / 363.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.2753, allocations: 88.8 kB / 364 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2753, allocations: 11.98 kB / 364 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005073/0.2758, allocations: 0.6342 MB / 364.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2758, allocations: 7.922 kB / 364.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.2774, allocations: 1.065 MB / 365.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/0.2781, allocations: 493.6 kB / 366.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.2783, allocations: 12 kB / 366.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.2787, allocations: 23.98 kB / 366.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.2788, allocations: 28.39 kB / 366.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.2788, allocations: 16 kB / 366.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004845/0.2837, allocations: 3.97 MB / 370.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2837, allocations: 0 / 370.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008496/0.2846, allocations: 208 kB / 370.5 MB, free: 7.277 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 (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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009533/0.2855, allocations: 417.5 kB / 370.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.2864, allocations: 384.8 kB / 371.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2864, allocations: 0.5 kB / 371.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.2868, allocations: 214.4 kB / 371.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2881, allocations: 195.2 kB / 371.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.2956, allocations: 6.163 MB / 377.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.2973, allocations: 1.81 MB / 379.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005875/0.2979, allocations: 275.6 kB / 379.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.2981, allocations: 91.42 kB / 380 MB, free: 13.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.194e-06/0.2981, allocations: 0 / 380 MB, free: 13.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02865/0.3268, allocations: 14.19 MB / 394.2 MB, free: 15.46 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)