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.004934/0.004934, allocations: 99.28 kB / 15.73 MB, free: 5.594 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.00108/0.00108, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.00131/0.00131, allocations: 52.41 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09072, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.007145/0.09793, allocations: 4.303 MB / 377.5 MB, free: 264 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2271/0.3251, allocations: 1.625 MB / 379.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.3256, allocations: 10.66 kB / 379.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.3261, allocations: 124 kB / 379.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000894/0.327, allocations: 371.2 kB / 379.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3274, allocations: 225.9 kB / 379.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008945/0.3283, allocations: 0.9853 MB / 380.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.3287, allocations: 244.2 kB / 381 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.3293, allocations: 373.1 kB / 381.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.3298, allocations: 428 kB / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3299, allocations: 96.75 kB / 381.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.3303, allocations: 218.3 kB / 382.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3305, allocations: 198.6 kB / 382.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.3309, allocations: 417.9 kB / 382.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.3324, allocations: 1.162 MB / 383.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3324, allocations: 0 / 383.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3324, allocations: 0 / 383.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3324, allocations: 4 kB / 383.9 MB, free: 8.152 MB / 318.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.002608/0.3351, allocations: 1.095 MB / 385 MB, free: 7.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3351, allocations: 13.42 kB / 385 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3353, allocations: 79.66 kB / 385.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.3361, allocations: 0.5135 MB / 385.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.3362, allocations: 78.17 kB / 385.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.3364, allocations: 69.59 kB / 385.7 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3376, allocations: 0.6021 MB / 386.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3377, allocations: 1.281 kB / 386.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.3377, allocations: 21.25 kB / 386.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.3378, allocations: 15.62 kB / 386.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3389, allocations: 0.5294 MB / 386.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.3423, allocations: 2.288 MB / 389.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.3433, allocations: 476 kB / 389.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.3438, allocations: 264.7 kB / 389.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3438, allocations: 4.156 kB / 389.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3439, allocations: 43.3 kB / 390 MB, free: 4.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.265e-06/0.3439, allocations: 0 / 390 MB, free: 4.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01323/0.3571, allocations: 3.553 MB / 393.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3572, allocations: 85 kB / 393.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.358, allocations: 0.5379 MB / 394.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.3581, allocations: 33.7 kB / 394.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.3582, allocations: 314.2 kB / 394.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.3584, allocations: 210 kB / 394.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3586, allocations: 111.7 kB / 394.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.3587, allocations: 373.3 kB / 395.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.3593, allocations: 247.3 kB / 395.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.3599, allocations: 354.5 kB / 395.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3611, allocations: 0.5955 MB / 396.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.3611, allocations: 4 kB / 396.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001532/0.3626, allocations: 0.7395 MB / 397.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3627, allocations: 7.578 kB / 397.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3627, allocations: 2.25 kB / 397.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.3629, allocations: 30.86 kB / 397.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.3637, allocations: 172.2 kB / 397.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/0.3647, allocations: 1.437 MB / 398.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.3653, allocations: 42.75 kB / 398.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.3654, allocations: 24.2 kB / 398.8 MB, free: 15.46 MB / 334.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.0003199/0.3657, allocations: 197.3 kB / 399 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3658, allocations: 61.19 kB / 399 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.3677, allocations: 0.8326 MB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3678, allocations: 11.05 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3678, allocations: 5.312 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3678, allocations: 3.609 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.3717, allocations: 1.858 MB / 401.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3718, allocations: 1.25 kB / 401.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.3724, allocations: 108.8 kB / 401.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.3748, allocations: 472.9 kB / 402.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.3749, allocations: 15.42 kB / 402.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/0.3802, allocations: 3.148 MB / 405.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3802, allocations: 1.531 kB / 405.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.3834, allocations: 1.37 MB / 406.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.3839, allocations: 205.7 kB / 407.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.384, allocations: 15.97 kB / 407.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.3846, allocations: 42.84 kB / 407.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3848, allocations: 45.91 kB / 407.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.3849, allocations: 23.58 kB / 407.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006188/0.3855, allocations: 388.3 kB / 407.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3855, allocations: 0 / 407.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000972/0.3865, allocations: 189 kB / 407.7 MB, free: 9.535 MB / 334.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.0003719/0.3869, allocations: 143.5 kB / 407.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3885, allocations: 0.7313 MB / 408.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3886, allocations: 0 / 408.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.3895, allocations: 0.5273 MB / 409.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.3903, allocations: 96.72 kB / 409.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.3933, allocations: 1.453 MB / 410.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.3939, allocations: 0.9067 MB / 411.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.3943, allocations: 73.69 kB / 411.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3945, allocations: 53.66 kB / 411.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3945, allocations: 0 / 411.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Templates: time 0.01749/0.412, allocations: 10.4 MB / 422.1 MB, free: 13.05 MB / 350.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)