Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006098/0.006098, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001171/0.001171, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001185/0.001185, allocations: 46.53 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09216, allocations: 46.64 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005094/0.09729, allocations: 4.292 MB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.09981, allocations: 1.625 MB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.1001, allocations: 8 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.1005, allocations: 134.7 kB / 379.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007643/0.1013, allocations: 369.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1017, allocations: 235.6 kB / 379.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.1025, allocations: 0.9783 MB / 380.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.1028, allocations: 241.4 kB / 381 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.1032, allocations: 378.6 kB / 381.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.1036, allocations: 426.3 kB / 381.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1037, allocations: 96 kB / 381.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1041, allocations: 215.9 kB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1042, allocations: 199.3 kB / 382.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.1046, allocations: 414.1 kB / 382.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1057, allocations: 1.16 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1057, allocations: 4 kB / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1057, allocations: 0 / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1057, allocations: 0 / 383.9 MB, free: 6.539 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.002326/0.1081, allocations: 1.095 MB / 385 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1081, allocations: 11.89 kB / 385 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1082, allocations: 80 kB / 385.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.109, allocations: 0.5145 MB / 385.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.109, allocations: 71.58 kB / 385.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.1092, allocations: 72.48 kB / 385.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/0.1102, allocations: 0.598 MB / 386.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1103, allocations: 8 kB / 386.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.1103, allocations: 24 kB / 386.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1103, allocations: 12 kB / 386.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.1114, allocations: 0.5282 MB / 386.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.1146, allocations: 2.287 MB / 389.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.1155, allocations: 481.2 kB / 389.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.116, allocations: 258.1 kB / 389.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1161, allocations: 12.22 kB / 389.9 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1161, allocations: 42.5 kB / 390 MB, free: 216 kB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.1161, allocations: 0 / 390 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01254/0.1287, allocations: 3.55 MB / 393.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1288, allocations: 89.61 kB / 393.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.1295, allocations: 0.5331 MB / 394.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1295, allocations: 37.7 kB / 394.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.1297, allocations: 308.3 kB / 394.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.1299, allocations: 213 kB / 394.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.1301, allocations: 110.2 kB / 394.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1303, allocations: 366.8 kB / 395.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.1309, allocations: 249.2 kB / 395.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.1315, allocations: 344.4 kB / 395.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1326, allocations: 0.6136 MB / 396.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1326, allocations: 4 kB / 396.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001506/0.1341, allocations: 0.7412 MB / 397.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1342, allocations: 4 kB / 397.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1342, allocations: 4 kB / 397.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.1344, allocations: 32.83 kB / 397.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.1352, allocations: 167.8 kB / 397.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.1363, allocations: 1.432 MB / 398.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.1369, allocations: 39.91 kB / 398.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.1369, allocations: 24 kB / 398.8 MB, free: 7.012 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.0002685/0.1372, allocations: 201.6 kB / 399 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1373, allocations: 67.31 kB / 399 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.1391, allocations: 0.8374 MB / 399.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.1391, allocations: 11.94 kB / 399.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1391, allocations: 0 / 399.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1391, allocations: 3.984 kB / 399.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.1427, allocations: 1.849 MB / 401.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1427, allocations: 0 / 401.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.1433, allocations: 111.9 kB / 401.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/0.1455, allocations: 472.2 kB / 402.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.1456, allocations: 23.98 kB / 402.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.1506, allocations: 3.139 MB / 405.5 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1506, allocations: 3.984 kB / 405.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.1535, allocations: 1.371 MB / 406.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.1539, allocations: 208.3 kB / 407.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.154, allocations: 12 kB / 407.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.1546, allocations: 43.97 kB / 407.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1548, allocations: 48.48 kB / 407.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.1548, allocations: 20 kB / 407.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.1553, allocations: 390.8 kB / 407.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1553, allocations: 0 / 407.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007346/0.156, allocations: 192 kB / 407.7 MB, free: 13.79 MB / 350.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.0002941/0.1563, allocations: 139.2 kB / 407.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1578, allocations: 0.7402 MB / 408.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1578, allocations: 0 / 408.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009007/0.1588, allocations: 0.5218 MB / 409.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.1594, allocations: 101.8 kB / 409.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.1622, allocations: 1.456 MB / 410.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.1628, allocations: 0.9003 MB / 411.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.1631, allocations: 72.81 kB / 411.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1632, allocations: 55.41 kB / 411.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1633, allocations: 0 / 411.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Templates: time 0.01902/0.1823, allocations: 10.4 MB / 422.1 MB, free: 15.29 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)