Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001327/0.001327, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.00147/0.001469, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.393/1.393, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001233/0.001233, allocations: 60.14 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08237, allocations: 46.63 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00444/0.08685, allocations: 3.334 MB / 330 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.08896, allocations: 1.4 MB / 331.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.08913, allocations: 8 kB / 331.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.09184, allocations: 2.655 MB / 334 MB, free: 13.02 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.09224, allocations: 162.8 kB / 334.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.09284, allocations: 287.4 kB / 334.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.09435, allocations: 1.794 MB / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.09458, allocations: 135.3 kB / 336.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.0949, allocations: 309.1 kB / 336.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.09526, allocations: 322.8 kB / 337 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.145e-05/0.09536, allocations: 44 kB / 337.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.09553, allocations: 75.97 kB / 337.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005758/0.09611, allocations: 0.8414 MB / 338 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.09677, allocations: 0.9385 MB / 338.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.09859, allocations: 2.577 MB / 341.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09861, allocations: 4 kB / 341.5 MB, free: 5.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09861, allocations: 0 / 341.5 MB, free: 5.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.09864, allocations: 0 / 341.5 MB, free: 5.531 MB / 286.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.00342/0.1021, allocations: 2.798 MB / 344.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1021, allocations: 15.89 kB / 344.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.1024, allocations: 281.3 kB / 344.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.1045, allocations: 1.816 MB / 346.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/0.1046, allocations: 59.27 kB / 346.5 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1048, allocations: 51.92 kB / 346.5 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.1054, allocations: 398.9 kB / 346.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1055, allocations: 0 / 346.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.1055, allocations: 16 kB / 346.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1055, allocations: 12 kB / 346.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.1062, allocations: 323.8 kB / 347.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.1097, allocations: 2.911 MB / 350.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.1104, allocations: 305.1 kB / 350.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.1107, allocations: 169.7 kB / 350.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1107, allocations: 7.938 kB / 350.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1108, allocations: 47.08 kB / 350.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.1108, allocations: 0 / 350.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004378/0.1152, allocations: 2.359 MB / 353 MB, free: 9.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1152, allocations: 89.52 kB / 353.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006091/0.1213, allocations: 5.431 MB / 358.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1214, allocations: 41.69 kB / 358.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.1224, allocations: 1.203 MB / 359.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1226, allocations: 169.5 kB / 360 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1227, allocations: 90.25 kB / 360 MB, free: 2.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1228, allocations: 322 kB / 360.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.1232, allocations: 145 kB / 360.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.1236, allocations: 221.6 kB / 360.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.1243, allocations: 380.3 kB / 361.1 MB, free: 1.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1243, allocations: 4 kB / 361.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001118/0.1254, allocations: 0.68 MB / 361.8 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1254, allocations: 8 kB / 361.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1255, allocations: 256 / 361.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1255, allocations: 8 kB / 361.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.126, allocations: 119.8 kB / 361.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.126, allocations: 8 kB / 361.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.1264, allocations: 19.92 kB / 361.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.1265, allocations: 23.94 kB / 362 MB, free: 0.6133 MB / 302.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.0009398/0.1274, allocations: 0.9192 MB / 362.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.1277, allocations: 268.4 kB / 363.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.1281, allocations: 344.1 kB / 363.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1281, allocations: 8 kB / 363.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1281, allocations: 0 / 363.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1281, allocations: 7.922 kB / 363.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.1297, allocations: 1.469 MB / 365 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1297, allocations: 0 / 365 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.1301, allocations: 95.88 kB / 365 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.1306, allocations: 84.8 kB / 365.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1306, allocations: 12 kB / 365.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005632/0.1312, allocations: 0.6382 MB / 365.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1312, allocations: 0 / 365.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1327, allocations: 1.034 MB / 366.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.1334, allocations: 0.4897 MB / 367.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.1335, allocations: 12 kB / 367.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.134, allocations: 19.98 kB / 367.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.1341, allocations: 28.41 kB / 367.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.1341, allocations: 15.98 kB / 367.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004378/0.1385, allocations: 3.974 MB / 371.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1385, allocations: 3.938 kB / 371.4 MB, free: 7.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006306/0.1391, allocations: 204 kB / 371.6 MB, free: 6.879 MB / 318.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.001051/0.1402, allocations: 425.6 kB / 372 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009121/0.1411, allocations: 408.8 kB / 372.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1411, allocations: 4 kB / 372.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1416, allocations: 218.9 kB / 372.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.1427, allocations: 179.3 kB / 372.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.1506, allocations: 5.466 MB / 378.2 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1349/0.2856, allocations: 1.812 MB / 380 MB, free: 52.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.2862, allocations: 271.6 kB / 380.3 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.2865, allocations: 87.48 kB / 380.4 MB, free: 52.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2865, allocations: 0 / 380.4 MB, free: 52.59 MB / 318.1 MB Notification: Performance of Templates: time 0.03148/0.318, allocations: 15.25 MB / 395.6 MB, free: 47.39 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)