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.001323/0.001323, allocations: 97.77 kB / 16.5 MB, free: 6.641 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.001447/0.001447, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.438/1.438, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001197/0.001197, allocations: 47.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09381, allocations: 46.63 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005007/0.09885, allocations: 3.36 MB / 329.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1012, allocations: 1.392 MB / 330.7 MB, free: 80 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1014, allocations: 4 kB / 330.7 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.104, allocations: 1.848 MB / 332.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.1044, allocations: 147.1 kB / 332.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.1051, allocations: 263.6 kB / 333 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.1068, allocations: 1.69 MB / 334.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1071, allocations: 119.9 kB / 334.8 MB, free: 12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.1074, allocations: 289 kB / 335.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1077, allocations: 298.8 kB / 335.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.1078, allocations: 28 kB / 335.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.108, allocations: 59.94 kB / 335.4 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.1086, allocations: 0.8258 MB / 336.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.1092, allocations: 0.8955 MB / 337.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1115, allocations: 2.531 MB / 339.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1115, allocations: 0 / 339.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1115, allocations: 0 / 339.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.1115, allocations: 0 / 339.7 MB, free: 7.07 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.003934/0.1154, allocations: 2.802 MB / 342.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1155, allocations: 16.03 kB / 342.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.1158, allocations: 277.3 kB / 342.8 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.1183, allocations: 1.816 MB / 344.6 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.1184, allocations: 63.25 kB / 344.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1186, allocations: 47.92 kB / 344.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.1195, allocations: 391 kB / 345.1 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1195, allocations: 4 kB / 345.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1196, allocations: 16 kB / 345.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1196, allocations: 8 kB / 345.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.1204, allocations: 331.7 kB / 345.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.1247, allocations: 2.911 MB / 348.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.1254, allocations: 308.9 kB / 348.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.1257, allocations: 173.5 kB / 348.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.1257, allocations: 7.984 kB / 348.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.1258, allocations: 51.03 kB / 348.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.665e-06/0.1258, allocations: 0 / 348.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004749/0.1306, allocations: 2.354 MB / 351.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.1308, allocations: 85.55 kB / 351.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/0.1371, allocations: 5.435 MB / 356.8 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.1371, allocations: 37.7 kB / 356.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.1382, allocations: 1.199 MB / 358 MB, free: 4.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.1383, allocations: 169.5 kB / 358.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1385, allocations: 94.19 kB / 358.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1387, allocations: 330 kB / 358.6 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.139, allocations: 141.1 kB / 358.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.1394, allocations: 217.7 kB / 358.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.1401, allocations: 380.3 kB / 359.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1401, allocations: 0 / 359.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00122/0.1413, allocations: 0.6841 MB / 360 MB, free: 2.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1414, allocations: 8.031 kB / 360 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1414, allocations: 4 kB / 360 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1414, allocations: 7.984 kB / 360 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.1419, allocations: 127.7 kB / 360.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1419, allocations: 4 kB / 360.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.1423, allocations: 19.94 kB / 360.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.1424, allocations: 16 kB / 360.2 MB, free: 2.148 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.0009447/0.1433, allocations: 0.9231 MB / 361.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.1436, allocations: 276.4 kB / 361.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.1449, allocations: 0.7669 MB / 362.1 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.1449, allocations: 8 kB / 362.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.145, allocations: 0 / 362.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.145, allocations: 3.984 kB / 362.1 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.1465, allocations: 1.477 MB / 363.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1465, allocations: 0 / 363.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.147, allocations: 95.88 kB / 363.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.1473, allocations: 80.8 kB / 363.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.1473, allocations: 12 kB / 363.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005322/0.1479, allocations: 0.6382 MB / 364.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1479, allocations: 0 / 364.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.1494, allocations: 1.065 MB / 365.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.1501, allocations: 489.6 kB / 366 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.1503, allocations: 15.94 kB / 366 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.1508, allocations: 16.11 kB / 366 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.1509, allocations: 32.39 kB / 366 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.1509, allocations: 16 kB / 366.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004165/0.1551, allocations: 3.977 MB / 370 MB, free: 8.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1551, allocations: 0 / 370 MB, free: 8.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000628/0.1557, allocations: 204 kB / 370.2 MB, free: 7.941 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.0009129/0.1566, allocations: 426.3 kB / 370.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.1575, allocations: 380.9 kB / 371 MB, free: 7.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1575, allocations: 0 / 371 MB, free: 7.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.1579, allocations: 214.4 kB / 371.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.1591, allocations: 191.7 kB / 371.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.1662, allocations: 6.035 MB / 377.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.138/0.3042, allocations: 1.809 MB / 379.3 MB, free: 51.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000725/0.305, allocations: 267.1 kB / 379.5 MB, free: 51.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3053, allocations: 95.41 kB / 379.6 MB, free: 51.72 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3053, allocations: 1.062 kB / 379.6 MB, free: 51.72 MB / 318.1 MB Notification: Performance of Templates: time 0.02858/0.3339, allocations: 14.69 MB / 394.3 MB, free: 47.12 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)