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.0008495/0.0008496, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0008736/0.0008737, allocations: 177 kB / 17.56 MB, free: 6.18 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.38/1.38, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004934/0.0004933, allocations: 16 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09388, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004167/0.09808, allocations: 3.933 MB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.101, allocations: 1.611 MB / 333.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.1014, allocations: 11.94 kB / 333.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1017, allocations: 95.3 kB / 334 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.1025, allocations: 314.4 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.1029, allocations: 199.8 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008621/0.1038, allocations: 0.9121 MB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1041, allocations: 214.2 kB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.1045, allocations: 310.7 kB / 335.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.1049, allocations: 374.2 kB / 336.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.403e-05/0.105, allocations: 44 kB / 336.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.1053, allocations: 163.8 kB / 336.5 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1054, allocations: 139.3 kB / 336.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.1058, allocations: 383.8 kB / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.1067, allocations: 1.09 MB / 338.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1067, allocations: 4 kB / 338.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1067, allocations: 0 / 338.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.046e-06/0.1067, allocations: 0 / 338.1 MB, free: 9.941 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.002009/0.1087, allocations: 0.9742 MB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1088, allocations: 12.03 kB / 339.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.1089, allocations: 83.94 kB / 339.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.1095, allocations: 0.5029 MB / 339.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.1096, allocations: 75.58 kB / 339.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1098, allocations: 68.48 kB / 339.8 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1109, allocations: 0.6136 MB / 340.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1109, allocations: 0 / 340.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.111, allocations: 24 kB / 340.4 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.111, allocations: 12 kB / 340.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1121, allocations: 0.5399 MB / 341 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.1154, allocations: 2.337 MB / 343.3 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.1164, allocations: 485.1 kB / 343.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.117, allocations: 274.1 kB / 344.1 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.117, allocations: 4 kB / 344.1 MB, free: 3.703 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1171, allocations: 38.56 kB / 344.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/0.1171, allocations: 4 kB / 344.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01359/0.1307, allocations: 3.706 MB / 347.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1308, allocations: 85.67 kB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1314, allocations: 0.5331 MB / 348.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.1315, allocations: 37.7 kB / 348.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.1317, allocations: 320.3 kB / 348.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1319, allocations: 205 kB / 349 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.132, allocations: 53.69 kB / 349 MB, free: 14.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1321, allocations: 366.8 kB / 349.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.1327, allocations: 257.2 kB / 349.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.1333, allocations: 364.3 kB / 350 MB, free: 13.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.1345, allocations: 0.6215 MB / 350.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1345, allocations: 0 / 350.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001568/0.1361, allocations: 0.7685 MB / 351.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1361, allocations: 8 kB / 351.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1362, allocations: 0 / 351.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.1363, allocations: 32.83 kB / 351.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.1372, allocations: 175.8 kB / 351.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.1383, allocations: 1.329 MB / 352.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.1389, allocations: 47.92 kB / 353 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.1389, allocations: 23.98 kB / 353 MB, free: 10.39 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.0003088/0.1393, allocations: 205.6 kB / 353.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1394, allocations: 67.39 kB / 353.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.1413, allocations: 0.8608 MB / 354.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1413, allocations: 4 kB / 354.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1413, allocations: 8 kB / 354.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1413, allocations: 3.984 kB / 354.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.1452, allocations: 1.886 MB / 356 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1452, allocations: 3.938 kB / 356 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.1457, allocations: 107.9 kB / 356.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.1483, allocations: 0.5003 MB / 356.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.1484, allocations: 15.98 kB / 356.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.1535, allocations: 2.963 MB / 359.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1535, allocations: 0 / 359.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.1565, allocations: 1.409 MB / 361 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.1568, allocations: 204.3 kB / 361.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.1569, allocations: 12 kB / 361.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.1575, allocations: 51.97 kB / 361.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1577, allocations: 52.52 kB / 361.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.1577, allocations: 23.92 kB / 361.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004847/0.1582, allocations: 390.9 kB / 361.7 MB, free: 1.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1582, allocations: 4 kB / 361.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.159, allocations: 180 kB / 361.9 MB, free: 1.215 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.0003517/0.1593, allocations: 151.2 kB / 362.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.1609, allocations: 0.7482 MB / 362.8 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1609, allocations: 0 / 362.8 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.1618, allocations: 0.5333 MB / 363.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.1626, allocations: 89.98 kB / 363.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1655, allocations: 1.865 MB / 365.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.166, allocations: 0.9046 MB / 366.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.1664, allocations: 68.81 kB / 366.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.1666, allocations: 55.41 kB / 366.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1666, allocations: 0 / 366.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01603/0.1826, allocations: 9.55 MB / 375.9 MB, free: 3.156 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)