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.001366/0.001366, allocations: 108.8 kB / 17.06 MB, free: 6.023 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.001479/0.001479, allocations: 191 kB / 18 MB, free: 5.109 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.001169/0.001169, allocations: 51.94 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09841, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005466/0.1039, allocations: 4.299 MB / 378.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2128/0.3168, allocations: 1.626 MB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.3172, allocations: 9.594 kB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.3177, allocations: 128.8 kB / 380.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009668/0.3187, allocations: 357.8 kB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3192, allocations: 231 kB / 381.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.3202, allocations: 0.986 MB / 382.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.3206, allocations: 240.6 kB / 382.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.3212, allocations: 373.8 kB / 382.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.3218, allocations: 423.8 kB / 383.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.322, allocations: 97.25 kB / 383.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.3224, allocations: 217.5 kB / 383.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3226, allocations: 201.9 kB / 383.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.323, allocations: 418 kB / 384 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.3244, allocations: 1.162 MB / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3245, allocations: 0 / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3245, allocations: 0 / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3245, 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.002558/0.327, allocations: 1.093 MB / 386.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3271, allocations: 16.33 kB / 386.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.3273, allocations: 80.34 kB / 386.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/0.3282, allocations: 0.5161 MB / 386.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3283, allocations: 68.92 kB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.3285, allocations: 71.14 kB / 387 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3298, allocations: 0.6074 MB / 387.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3299, allocations: 0 / 387.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.3299, allocations: 22 kB / 387.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.33, allocations: 15.56 kB / 387.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3313, allocations: 0.5273 MB / 388.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.3348, allocations: 2.288 MB / 390.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3358, allocations: 474.4 kB / 391 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.3364, allocations: 268.7 kB / 391.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.3365, allocations: 4.312 kB / 391.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3365, allocations: 38.19 kB / 391.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.3365, allocations: 0 / 391.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01345/0.35, allocations: 3.549 MB / 394.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.35, allocations: 84.88 kB / 394.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.3508, allocations: 0.5359 MB / 395.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.3509, allocations: 38.17 kB / 395.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3511, allocations: 319.2 kB / 395.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.3512, allocations: 208.8 kB / 396 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3514, allocations: 112 kB / 396.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3515, allocations: 369.9 kB / 396.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.3521, allocations: 244.5 kB / 396.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.3528, allocations: 354.7 kB / 397 MB, free: 1.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3539, allocations: 0.5975 MB / 397.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3539, allocations: 1.375 kB / 397.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001572/0.3555, allocations: 0.7393 MB / 398.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3555, allocations: 6.734 kB / 398.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3556, allocations: 2.75 kB / 398.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.3558, allocations: 35 kB / 398.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.3566, allocations: 170.7 kB / 398.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.3576, allocations: 1.435 MB / 400 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.3583, allocations: 39.98 kB / 400.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.3584, allocations: 23.88 kB / 400.1 MB, free: 15.48 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.000365/0.3588, allocations: 205.5 kB / 400.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3589, allocations: 60.41 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.3609, allocations: 0.8354 MB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3609, allocations: 11.7 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3609, allocations: 0 / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.361, allocations: 4.312 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.3648, allocations: 1.861 MB / 403.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3648, allocations: 0 / 403.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.3654, allocations: 105.4 kB / 403.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.3678, allocations: 471.9 kB / 403.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.3679, allocations: 16.55 kB / 403.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/0.3728, allocations: 3.152 MB / 406.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3729, allocations: 5.094 kB / 406.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.376, allocations: 1.37 MB / 408.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.3763, allocations: 203.1 kB / 408.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.3764, allocations: 19.23 kB / 408.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.3771, allocations: 39.06 kB / 408.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.3772, allocations: 45.5 kB / 408.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.3773, allocations: 21.08 kB / 408.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.3778, allocations: 392 kB / 408.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3778, allocations: 0 / 408.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.3786, allocations: 189.2 kB / 409 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.0003023/0.3789, allocations: 139.8 kB / 409.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.3804, allocations: 0.7345 MB / 409.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3804, allocations: 2.25 kB / 409.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.3814, allocations: 0.5227 MB / 410.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.3821, allocations: 96.89 kB / 410.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.385, allocations: 1.459 MB / 412 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3855, allocations: 0.9074 MB / 412.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.3858, allocations: 69.06 kB / 413 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.386, allocations: 54.16 kB / 413 MB, free: 6.855 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.386, allocations: 0 / 413 MB, free: 6.855 MB / 334.1 MB Notification: Performance of Templates: time 0.01777/0.4038, allocations: 10.41 MB / 423.4 MB, free: 13.06 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)