Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001652/0.001652, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001989/0.001989, allocations: 193.8 kB / 17.55 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.278/1.278, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.001183/0.001183, allocations: 55.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08483, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005081/0.08995, allocations: 4.326 MB / 330.5 MB, free: 428 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.09237, allocations: 1.626 MB / 332.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.09263, allocations: 8 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.09301, allocations: 95.23 kB / 332.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.09372, allocations: 314.5 kB / 332.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.09407, allocations: 199.8 kB / 332.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007866/0.09487, allocations: 0.9667 MB / 333.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.09519, allocations: 249.3 kB / 333.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.09557, allocations: 378.7 kB / 334.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.09601, allocations: 426.3 kB / 334.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.09615, allocations: 96 kB / 334.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.09653, allocations: 211.9 kB / 335 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.0967, allocations: 199.3 kB / 335.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.09707, allocations: 418.1 kB / 335.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.09804, allocations: 1.152 MB / 336.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09806, allocations: 0 / 336.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09807, allocations: 4 kB / 336.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.09808, allocations: 0 / 336.8 MB, free: 10.1 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002286/0.1004, allocations: 1.099 MB / 337.9 MB, free: 8.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1004, allocations: 11.89 kB / 337.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1006, allocations: 76.09 kB / 337.9 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.1012, allocations: 0.499 MB / 338.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.1013, allocations: 79.56 kB / 338.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.1015, allocations: 72.44 kB / 338.6 MB, free: 8.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1026, allocations: 0.5981 MB / 339.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1026, allocations: 7.906 kB / 339.2 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.1027, allocations: 20 kB / 339.2 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1027, allocations: 12 kB / 339.2 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1037, allocations: 0.5282 MB / 339.8 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.1069, allocations: 2.322 MB / 342.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.1078, allocations: 465.2 kB / 342.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.1084, allocations: 270.1 kB / 342.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1084, allocations: 4 kB / 342.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1084, allocations: 42.5 kB / 342.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.543e-06/0.1084, allocations: 0 / 342.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01281/0.1213, allocations: 3.546 MB / 346.4 MB, free: 116 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1213, allocations: 85.67 kB / 346.5 MB, free: 12 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.122, allocations: 0.5331 MB / 347 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.1221, allocations: 33.7 kB / 347 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1223, allocations: 324.2 kB / 347.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1225, allocations: 220.8 kB / 347.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1227, allocations: 106.3 kB / 347.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1228, allocations: 366.7 kB / 348 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.1234, allocations: 249.2 kB / 348.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.124, allocations: 344.4 kB / 348.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.1251, allocations: 0.6059 MB / 349.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1251, allocations: 0 / 349.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001462/0.1266, allocations: 0.7449 MB / 350 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1266, allocations: 8 kB / 350 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1266, allocations: 0 / 350 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.1268, allocations: 37.09 kB / 350 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/0.1276, allocations: 163.8 kB / 350.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.1287, allocations: 1.436 MB / 351.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.1293, allocations: 43.97 kB / 351.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.1293, allocations: 27.98 kB / 351.7 MB, free: 10.55 MB / 302.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.0002884/0.1296, allocations: 197.7 kB / 351.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1297, allocations: 59.34 kB / 351.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.1315, allocations: 0.8451 MB / 352.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1315, allocations: 11.94 kB / 352.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1315, allocations: 0 / 352.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1315, allocations: 0 / 352.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.1351, allocations: 1.843 MB / 354.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.1351, allocations: 4 kB / 354.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.1357, allocations: 111.8 kB / 354.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/0.1379, allocations: 472.3 kB / 355.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.138, allocations: 19.98 kB / 355.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/0.1429, allocations: 3.155 MB / 358.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.143, allocations: 0 / 358.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.1459, allocations: 1.366 MB / 359.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.1462, allocations: 208.2 kB / 359.9 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.1463, allocations: 12 kB / 360 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.1469, allocations: 47.95 kB / 360 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.147, allocations: 52.44 kB / 360.1 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1471, allocations: 23.98 kB / 360.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004296/0.1475, allocations: 386.9 kB / 360.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1475, allocations: 0 / 360.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006948/0.1482, allocations: 184 kB / 360.6 MB, free: 1.324 MB / 302.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.0002592/0.1485, allocations: 159.2 kB / 360.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.1501, allocations: 0.7447 MB / 361.5 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1502, allocations: 4.062 kB / 361.5 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.1511, allocations: 0.5211 MB / 362.1 MB, free: 15.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.1518, allocations: 89.98 kB / 362.1 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.1545, allocations: 1.742 MB / 363.9 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1549, allocations: 0.9043 MB / 364.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.1553, allocations: 72.8 kB / 364.9 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.1555, allocations: 51.41 kB / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1555, allocations: 0 / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Templates: time 0.01648/0.1719, allocations: 10.12 MB / 375 MB, free: 2.824 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)