Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008055/0.0008056, allocations: 85.91 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06637/0.06637, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2879/0.2879, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.818e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.0964, allocations: 69.33 MB / 0.5895 GB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4431, allocations: 98.81 MB / 0.686 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.4433, allocations: 80.58 kB / 0.6861 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05945/0.5028, allocations: 22.67 MB / 0.7082 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5028, allocations: 0 / 0.7082 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.061e-05/0.5029, allocations: 16 kB / 0.7082 GB, free: 13.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004142/0.507, allocations: 1.597 MB / 0.7098 GB, free: 11.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5071, allocations: 11.98 kB / 0.7098 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.5103, allocations: 0.5409 MB / 0.7103 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.5115, allocations: 0.6925 MB / 0.711 GB, free: 10.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.5118, allocations: 253.2 kB / 0.7112 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.512, allocations: 65.81 kB / 0.7113 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5133, allocations: 0.7872 MB / 0.7121 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5133, allocations: 4 kB / 0.7121 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.5134, allocations: 21.38 kB / 0.7121 GB, free: 9.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5134, allocations: 16 kB / 0.7121 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.5148, allocations: 0.7959 MB / 0.7129 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.52, allocations: 3.22 MB / 0.716 GB, free: 6.891 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.5213, allocations: 1.132 MB / 0.7171 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.5221, allocations: 0.5444 MB / 0.7177 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.5222, allocations: 20.69 kB / 0.7177 GB, free: 5.617 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5222, allocations: 42.72 kB / 0.7177 GB, free: 5.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.5223, allocations: 0 / 0.7177 GB, free: 5.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.01239/0.5346, allocations: 3.981 MB / 0.7216 GB, free: 2.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.5347, allocations: 60.19 kB / 0.7217 GB, free: 2.043 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/0.5355, allocations: 0.6524 MB / 0.7223 GB, free: 1.539 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.5357, allocations: 36.89 kB / 0.7223 GB, free: 1.508 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.5359, allocations: 449.3 kB / 0.7228 GB, free: 1.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.5362, allocations: 289.8 kB / 0.723 GB, free: 1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.5363, allocations: 14.75 kB / 0.7231 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5364, allocations: 339.2 kB / 0.7234 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.537, allocations: 411.9 kB / 0.7238 GB, free: 468 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.5378, allocations: 0.4966 MB / 0.7243 GB, free: 132 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.5385, allocations: 453.4 kB / 0.7247 GB, free: 15.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5385, allocations: 3.938 kB / 0.7247 GB, free: 15.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01248/0.551, allocations: 4.128 MB / 0.7287 GB, free: 12.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.551, allocations: 7.281 kB / 0.7287 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5511, allocations: 4 kB / 0.7287 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005621/0.5567, allocations: 1.711 MB / 0.7304 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.5573, allocations: 122.9 kB / 0.7305 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.5718, allocations: 7.271 MB / 0.7376 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.573, allocations: 170.3 kB / 0.7378 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.5731, allocations: 26.94 kB / 0.7378 GB, free: 5.543 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.5733, allocations: 154 kB / 0.738 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5735, allocations: 102.7 kB / 0.7381 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.5861, allocations: 4.078 MB / 0.742 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5862, allocations: 15.98 kB / 0.742 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.5862, allocations: 0 / 0.742 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5862, allocations: 3.984 kB / 0.7421 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.6005, allocations: 5.585 MB / 0.7475 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6005, allocations: 0 / 0.7475 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.6011, allocations: 95.88 kB / 0.7476 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005432/0.6065, allocations: 1.675 MB / 0.7492 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.6067, allocations: 23.98 kB / 0.7493 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.6197, allocations: 6.313 MB / 0.7554 GB, free: 3.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6198, allocations: 4 kB / 0.7554 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.6334, allocations: 4.779 MB / 0.7601 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.6338, allocations: 191.6 kB / 0.7603 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.634, allocations: 16 kB / 0.7603 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.635, allocations: 127.9 kB / 0.7604 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.6356, allocations: 196.4 kB / 0.7606 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.6357, allocations: 28 kB / 0.7606 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006582/0.6364, allocations: 0.5109 MB / 0.7611 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6364, allocations: 0 / 0.7611 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001096/0.6375, allocations: 399.6 kB / 0.7615 GB, free: 13.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002627/0.6377, allocations: 139.1 kB / 0.7616 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005203/0.643, allocations: 1.929 MB / 0.7635 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.643, allocations: 0 / 0.7635 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00421/0.6472, allocations: 1.438 MB / 0.7649 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.6478, allocations: 71.33 kB / 0.765 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6501, allocations: 1.315 MB / 0.7663 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.6506, allocations: 1.052 MB / 0.7673 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000268/0.6509, allocations: 69.14 kB / 0.7674 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.6511, allocations: 43.44 kB / 0.7674 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of SimCode: time 2.855e-06/0.6511, allocations: 0 / 0.7674 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of Templates: time 0.02771/0.6788, allocations: 18.58 MB / 0.7856 GB, free: 4.449 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)