Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001078/0.001078, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001144/0.001144, allocations: 200 kB / 18.01 MB, free: 5.055 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.375/1.375, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001326/0.001326, allocations: 47.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09395, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006059/0.1, allocations: 4.303 MB / 378.8 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.212/0.3121, allocations: 1.625 MB / 380.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.3125, allocations: 11.62 kB / 380.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.313, allocations: 126.4 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008948/0.3139, allocations: 361.6 kB / 380.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.3144, allocations: 230.8 kB / 381.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009647/0.3154, allocations: 0.985 MB / 382.1 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.3158, allocations: 244.7 kB / 382.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.3164, allocations: 371.1 kB / 382.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.3169, allocations: 426.5 kB / 383.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3171, allocations: 95.47 kB / 383.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.3175, allocations: 221.3 kB / 383.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3177, allocations: 199.3 kB / 383.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.318, allocations: 412.2 kB / 384 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.3194, allocations: 1.164 MB / 385.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3194, allocations: 4.969 kB / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3194, allocations: 0 / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3194, allocations: 0 / 385.2 MB, free: 8.16 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.002549/0.322, allocations: 1.092 MB / 386.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3221, allocations: 13.11 kB / 386.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3222, allocations: 79.62 kB / 386.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.3231, allocations: 0.5171 MB / 386.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.3232, allocations: 73.84 kB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.3234, allocations: 70.56 kB / 387 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.3245, allocations: 0.603 MB / 387.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3245, allocations: 1.094 kB / 387.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.3246, allocations: 24.44 kB / 387.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3246, allocations: 14.69 kB / 387.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.3257, allocations: 0.525 MB / 388.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.329, allocations: 2.29 MB / 390.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3301, allocations: 478.2 kB / 391 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.3307, allocations: 265.5 kB / 391.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.3307, allocations: 5.516 kB / 391.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3307, allocations: 41.34 kB / 391.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.073e-06/0.3307, allocations: 1.406 kB / 391.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01302/0.3438, allocations: 3.552 MB / 394.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3438, allocations: 85.19 kB / 394.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.3446, allocations: 0.5348 MB / 395.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3447, allocations: 37.23 kB / 395.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.3449, allocations: 309.4 kB / 395.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.345, allocations: 218.4 kB / 396 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3452, allocations: 113.6 kB / 396.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.3453, allocations: 364.2 kB / 396.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.3459, allocations: 248.8 kB / 396.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.3464, allocations: 348.7 kB / 397 MB, free: 1.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.3476, allocations: 0.6026 MB / 397.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3476, allocations: 1.312 kB / 397.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001538/0.3491, allocations: 0.7421 MB / 398.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3492, allocations: 6.875 kB / 398.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3492, allocations: 3.781 kB / 398.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.3494, allocations: 28.5 kB / 398.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.3501, allocations: 176.6 kB / 398.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009126/0.3511, allocations: 1.429 MB / 400 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.3517, allocations: 38.14 kB / 400.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.3518, allocations: 28.66 kB / 400.1 MB, free: 15.47 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.0002964/0.3521, allocations: 200.2 kB / 400.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3522, allocations: 68.06 kB / 400.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3541, allocations: 0.832 MB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3541, allocations: 11.34 kB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3541, allocations: 1.062 kB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.3541, allocations: 8.531 kB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.358, allocations: 1.853 MB / 403.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.358, allocations: 0 / 403.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.3585, allocations: 109.7 kB / 403.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.3609, allocations: 468.9 kB / 403.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.361, allocations: 19.42 kB / 403.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.3661, allocations: 3.152 MB / 406.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3661, allocations: 1.719 kB / 406.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.3692, allocations: 1.365 MB / 408.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.3696, allocations: 210.6 kB / 408.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.3697, allocations: 11.25 kB / 408.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.3703, allocations: 46.56 kB / 408.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3704, allocations: 46.11 kB / 408.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.3705, allocations: 16.78 kB / 408.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005086/0.371, allocations: 399.6 kB / 408.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.371, allocations: 0 / 408.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008987/0.3719, allocations: 191.6 kB / 409.1 MB, free: 9.531 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.00029/0.3722, allocations: 131.4 kB / 409.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3738, allocations: 0.7421 MB / 409.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3738, allocations: 0 / 409.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009007/0.3747, allocations: 0.5239 MB / 410.5 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.0006656/0.3754, allocations: 93.97 kB / 410.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.3783, allocations: 1.463 MB / 412 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3788, allocations: 0.9073 MB / 412.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.3792, allocations: 72.56 kB / 413 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3793, allocations: 53.78 kB / 413 MB, free: 6.844 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3794, allocations: 0 / 413 MB, free: 6.844 MB / 334.1 MB Notification: Performance of Templates: time 0.01816/0.3975, allocations: 10.67 MB / 423.7 MB, free: 12.75 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)