Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.008635/0.008636, allocations: 94.69 kB / 15.73 MB, free: 6.039 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.001636/0.001636, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.428/1.428, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.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.001188/0.001188, allocations: 54.14 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.0916, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004757/0.09641, allocations: 3.338 MB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.09863, allocations: 1.404 MB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.09885, allocations: 8 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.1016, allocations: 2.659 MB / 380.6 MB, free: 9.883 MB / 318.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.0004724/0.1021, allocations: 170.7 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.1028, allocations: 287.5 kB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.1045, allocations: 1.79 MB / 382.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1048, allocations: 147.2 kB / 383 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1052, allocations: 317 kB / 383.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.1056, allocations: 326.8 kB / 383.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.1057, allocations: 44 kB / 383.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1058, allocations: 67.98 kB / 383.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.1064, allocations: 0.8453 MB / 384.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.1071, allocations: 0.9384 MB / 385.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.1094, allocations: 2.618 MB / 388.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1094, allocations: 0 / 388.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1094, allocations: 0 / 388.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.1094, allocations: 0 / 388.1 MB, free: 2.332 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004226/0.1137, allocations: 2.902 MB / 391 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1137, allocations: 15.89 kB / 391 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.1141, allocations: 291 kB / 391.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.1166, allocations: 1.85 MB / 393.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.1167, allocations: 64 kB / 393.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.1169, allocations: 43.98 kB / 393.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.1176, allocations: 394.9 kB / 393.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1176, allocations: 7.953 kB / 393.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.1177, allocations: 12 kB / 393.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1177, allocations: 12 kB / 393.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.1184, allocations: 343.7 kB / 394 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.1226, allocations: 2.892 MB / 396.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.1233, allocations: 313 kB / 397.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1236, allocations: 165.6 kB / 397.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1237, allocations: 4 kB / 397.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1237, allocations: 38.56 kB / 397.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 3.216e-06/0.1237, allocations: 0 / 397.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004799/0.1285, allocations: 2.441 MB / 399.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1286, allocations: 85.55 kB / 399.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/0.1349, allocations: 5.435 MB / 405.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.135, allocations: 37.7 kB / 405.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.1361, allocations: 1.207 MB / 406.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.1363, allocations: 174.4 kB / 406.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1365, allocations: 90.2 kB / 406.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1366, allocations: 329.9 kB / 407.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.137, allocations: 137.1 kB / 407.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.1373, allocations: 221.7 kB / 407.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.138, allocations: 388.3 kB / 407.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.138, allocations: 0 / 407.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001214/0.1393, allocations: 0.6972 MB / 408.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1393, allocations: 11.94 kB / 408.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1393, allocations: 0 / 408.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1393, allocations: 4 kB / 408.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1398, allocations: 128.1 kB / 408.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1399, allocations: 11.88 kB / 408.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.1403, allocations: 12 kB / 408.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.1404, allocations: 20 kB / 408.8 MB, free: 13.17 MB / 350.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.001032/0.1414, allocations: 0.9153 MB / 409.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.1417, allocations: 286.1 kB / 410 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.1421, allocations: 348.1 kB / 410.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1422, allocations: 4 kB / 410.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1422, allocations: 4 kB / 410.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1422, allocations: 3.984 kB / 410.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1439, allocations: 1.469 MB / 411.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1439, allocations: 0 / 411.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.1443, allocations: 95.88 kB / 411.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.1448, allocations: 92.73 kB / 412 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.1448, allocations: 15.98 kB / 412 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006781/0.1455, allocations: 0.6381 MB / 412.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1455, allocations: 0 / 412.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1472, allocations: 1.051 MB / 413.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/0.1481, allocations: 0.4914 MB / 414.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.1483, allocations: 8 kB / 414.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.1488, allocations: 23.92 kB / 414.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.1489, allocations: 32.39 kB / 414.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1489, allocations: 16 kB / 414.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005085/0.154, allocations: 3.974 MB / 418.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.154, allocations: 0 / 418.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001005/0.155, allocations: 207.9 kB / 418.4 MB, free: 3.391 MB / 350.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.001124/0.1562, allocations: 416.4 kB / 418.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000937/0.1571, allocations: 384.8 kB / 419.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1571, allocations: 0 / 419.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.1576, allocations: 214.4 kB / 419.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.1586, allocations: 187.8 kB / 419.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.1657, allocations: 5.477 MB / 425.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.1675, allocations: 1.817 MB / 426.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007741/0.1683, allocations: 271.6 kB / 427.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.1685, allocations: 95.42 kB / 427.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1686, allocations: 4 kB / 427.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Templates: time 0.03141/0.2, allocations: 15.47 MB / 442.8 MB, free: 10.96 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)