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.007897/0.007903, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001841/0.001841, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.382/1.382, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.00205/0.00205, allocations: 46 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004489/0.1086, allocations: 3.334 MB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.111, allocations: 1.4 MB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1113, allocations: 15.94 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.1141, allocations: 2.655 MB / 380.6 MB, free: 9.875 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.0005064/0.1146, allocations: 170.7 kB / 380.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.1154, allocations: 279.5 kB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1172, allocations: 1.798 MB / 382.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1175, allocations: 143.2 kB / 383 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.1179, allocations: 313 kB / 383.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.1183, allocations: 318.9 kB / 383.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.1184, allocations: 44 kB / 383.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1186, allocations: 75.98 kB / 383.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006046/0.1192, allocations: 0.8452 MB / 384.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006886/0.1199, allocations: 0.9384 MB / 385.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.1221, allocations: 2.604 MB / 388.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1221, allocations: 0 / 388.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1221, allocations: 0 / 388.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.1221, allocations: 0 / 388.1 MB, free: 2.348 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.003791/0.1259, allocations: 2.794 MB / 390.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.126, allocations: 15.89 kB / 390.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.1263, allocations: 281.3 kB / 391.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.1287, allocations: 1.828 MB / 393 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.1288, allocations: 59.25 kB / 393 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.129, allocations: 51.83 kB / 393.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.1297, allocations: 391 kB / 393.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1298, allocations: 11.92 kB / 393.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1298, allocations: 12 kB / 393.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1298, allocations: 12 kB / 393.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.1305, allocations: 327.8 kB / 393.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.1343, allocations: 2.899 MB / 396.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.1349, allocations: 309 kB / 397 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1352, allocations: 161.6 kB / 397.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.1352, allocations: 15.94 kB / 397.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1353, allocations: 38.5 kB / 397.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.1353, allocations: 0 / 397.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004461/0.1397, allocations: 2.367 MB / 399.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1398, allocations: 85.48 kB / 399.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005599/0.1454, allocations: 5.435 MB / 405.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.1455, allocations: 37.7 kB / 405.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.1465, allocations: 1.207 MB / 406.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1466, allocations: 161.6 kB / 406.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1468, allocations: 94.19 kB / 406.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1469, allocations: 326 kB / 406.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1472, allocations: 137.1 kB / 407.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.1476, allocations: 221.7 kB / 407.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.1483, allocations: 384.3 kB / 407.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1483, allocations: 3.984 kB / 407.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001135/0.1494, allocations: 0.6764 MB / 408.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1494, allocations: 8 kB / 408.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1495, allocations: 0 / 408.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1495, allocations: 4 kB / 408.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.15, allocations: 131.8 kB / 408.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.15, allocations: 7.938 kB / 408.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.1504, allocations: 19.78 kB / 408.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1505, allocations: 23.98 kB / 408.5 MB, free: 13.41 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.001025/0.1515, allocations: 0.9231 MB / 409.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.1519, allocations: 264.5 kB / 409.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1523, allocations: 340.2 kB / 410 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1523, allocations: 4 kB / 410.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1523, allocations: 0 / 410.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1523, allocations: 7.922 kB / 410.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1539, allocations: 1.473 MB / 411.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1539, allocations: 0 / 411.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.1544, allocations: 99.88 kB / 411.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.1547, allocations: 80.8 kB / 411.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.1547, allocations: 11.98 kB / 411.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005152/0.1553, allocations: 0.6381 MB / 412.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1553, allocations: 0 / 412.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.1567, allocations: 1.034 MB / 413.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008493/0.1576, allocations: 493.6 kB / 413.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.1577, allocations: 20.06 kB / 413.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.1582, allocations: 19.98 kB / 413.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1583, allocations: 32.38 kB / 413.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1583, allocations: 12 kB / 414 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004109/0.1624, allocations: 3.977 MB / 417.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1624, allocations: 0 / 417.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.1631, allocations: 204 kB / 418.1 MB, free: 3.68 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.0009126/0.164, allocations: 420.2 kB / 418.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007854/0.1648, allocations: 380.9 kB / 418.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1648, allocations: 0.5 kB / 418.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.1653, allocations: 214.4 kB / 419.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.1663, allocations: 191.2 kB / 419.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.1729, allocations: 5.404 MB / 424.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.1744, allocations: 1.821 MB / 426.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005835/0.175, allocations: 271.6 kB / 426.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.1752, allocations: 91.42 kB / 426.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1752, allocations: 0 / 426.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Templates: time 0.02945/0.2047, allocations: 15.47 MB / 442.4 MB, free: 11.34 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)