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.001136/0.001136, allocations: 112 kB / 17.06 MB, free: 6 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.001333/0.001333, allocations: 192 kB / 18 MB, free: 5.082 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.368/1.368, allocations: 205.1 MB / 223.9 MB, free: 12.11 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.002318/0.002318, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005624/0.1171, allocations: 4.295 MB / 378.8 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2042/0.3213, allocations: 1.631 MB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.322, allocations: 10.97 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.3226, allocations: 126.7 kB / 380.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.324, allocations: 369.2 kB / 380.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.3248, allocations: 224.1 kB / 381.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.326, allocations: 0.9875 MB / 382.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.3264, allocations: 242.8 kB / 382.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.327, allocations: 377.5 kB / 382.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.3275, allocations: 425.5 kB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.3277, allocations: 97.12 kB / 383.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.3281, allocations: 218.1 kB / 383.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3283, allocations: 200.9 kB / 383.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.3286, allocations: 412.6 kB / 384 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3301, allocations: 1.161 MB / 385.2 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3301, allocations: 0 / 385.2 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3301, allocations: 8.734 kB / 385.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3301, allocations: 0 / 385.2 MB, free: 8.129 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.002458/0.3326, allocations: 1.094 MB / 386.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3326, allocations: 13.91 kB / 386.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3328, allocations: 83.56 kB / 386.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.3336, allocations: 0.5111 MB / 386.9 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.3337, allocations: 78.94 kB / 387 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.3339, allocations: 65.45 kB / 387 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.335, allocations: 0.6035 MB / 387.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.335, allocations: 0 / 387.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.3351, allocations: 21.84 kB / 387.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.3351, allocations: 17.81 kB / 387.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3363, allocations: 0.524 MB / 388.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.3396, allocations: 2.291 MB / 390.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.3406, allocations: 471 kB / 391 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.3411, allocations: 264.9 kB / 391.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.3412, allocations: 7.703 kB / 391.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3412, allocations: 41.69 kB / 391.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.3412, allocations: 3.938 kB / 391.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01287/0.3541, allocations: 3.552 MB / 394.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3541, allocations: 88.67 kB / 394.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.355, allocations: 0.5335 MB / 395.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.355, allocations: 36.58 kB / 395.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3552, allocations: 313.2 kB / 395.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3554, allocations: 209.3 kB / 396 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3556, allocations: 116.5 kB / 396.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.3557, allocations: 369.8 kB / 396.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.3562, allocations: 244 kB / 396.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.3568, allocations: 353.4 kB / 397.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3579, allocations: 0.6017 MB / 397.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3579, allocations: 1.156 kB / 397.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001424/0.3594, allocations: 0.7381 MB / 398.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3594, allocations: 5.5 kB / 398.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3594, allocations: 2.75 kB / 398.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.3596, allocations: 30.56 kB / 398.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.3604, allocations: 170.9 kB / 398.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.3618, allocations: 1.435 MB / 400 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.3626, allocations: 40.94 kB / 400.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.3626, allocations: 24.95 kB / 400.1 MB, free: 15.45 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.0004216/0.3631, allocations: 198.6 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.3632, allocations: 64.97 kB / 400.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.3653, allocations: 0.8375 MB / 401.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3653, allocations: 14.94 kB / 401.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3653, allocations: 1.156 kB / 401.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3653, allocations: 3.984 kB / 401.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.3693, allocations: 1.851 MB / 403.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3694, allocations: 5.469 kB / 403.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.3699, allocations: 104.7 kB / 403.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/0.3722, allocations: 478.6 kB / 403.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.3723, allocations: 12.97 kB / 403.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.3779, allocations: 3.156 MB / 406.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3779, allocations: 0 / 406.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.3812, allocations: 1.371 MB / 408.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.3817, allocations: 206.8 kB / 408.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.3819, allocations: 15.75 kB / 408.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.3826, allocations: 41.84 kB / 408.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3828, allocations: 50.64 kB / 408.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.3828, allocations: 16.81 kB / 408.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005811/0.3834, allocations: 387.7 kB / 408.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3834, allocations: 0 / 408.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3845, allocations: 191.1 kB / 409.1 MB, free: 9.516 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.0003852/0.3849, allocations: 145 kB / 409.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3867, allocations: 0.743 MB / 409.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3867, allocations: 0 / 409.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3877, allocations: 0.5223 MB / 410.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.3886, allocations: 87.08 kB / 410.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.3918, allocations: 1.462 MB / 412 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.3925, allocations: 0.912 MB / 412.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004229/0.3929, allocations: 75.17 kB / 413 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3931, allocations: 47.17 kB / 413.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3931, allocations: 0 / 413.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of Templates: time 0.02099/0.4141, allocations: 10.4 MB / 423.4 MB, free: 13.03 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)