Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 229.6 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.0008517, allocations: 92.7 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4745/0.4745, allocations: 78.94 MB / 410.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.413e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5375, allocations: 97.29 MB / 0.6374 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.5377, allocations: 81.92 kB / 0.6375 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06172/0.5994, allocations: 23.78 MB / 0.6607 GB, free: 9.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5995, allocations: 0 / 0.6607 GB, free: 9.035 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.5995, allocations: 16 kB / 0.6608 GB, free: 9.02 MB / 474.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.004311/0.6038, allocations: 1.597 MB / 0.6623 GB, free: 7.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6039, allocations: 8.031 kB / 0.6623 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.607, allocations: 0.5371 MB / 0.6628 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.6083, allocations: 0.6835 MB / 0.6635 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.6086, allocations: 236.2 kB / 0.6637 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6087, allocations: 43.98 kB / 0.6638 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001305/0.6101, allocations: 0.746 MB / 0.6645 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.6113, allocations: 0.6947 MB / 0.6652 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6114, allocations: 3.953 kB / 0.6652 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.6114, allocations: 0 / 0.6652 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6115, allocations: 16 kB / 0.6652 GB, free: 4.332 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005699/0.6172, allocations: 3.144 MB / 0.6683 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6185, allocations: 1.107 MB / 0.6694 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.6192, allocations: 0.5198 MB / 0.6699 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.6193, allocations: 8.781 kB / 0.6699 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6194, allocations: 45.09 kB / 0.6699 GB, free: 15.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/0.6194, allocations: 0 / 0.6699 GB, free: 15.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01199/0.6314, allocations: 3.919 MB / 0.6737 GB, free: 11.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.6314, allocations: 60.19 kB / 0.6738 GB, free: 11.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.6324, allocations: 0.5987 MB / 0.6744 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.6326, allocations: 25.7 kB / 0.6744 GB, free: 10.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.6329, allocations: 452.2 kB / 0.6748 GB, free: 10.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.6332, allocations: 279.8 kB / 0.6751 GB, free: 9.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.6333, allocations: 1.031 kB / 0.6751 GB, free: 9.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6334, allocations: 337.9 kB / 0.6754 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.6341, allocations: 397.6 kB / 0.6758 GB, free: 9.156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.6349, allocations: 495.5 kB / 0.6763 GB, free: 8.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.6356, allocations: 429.2 kB / 0.6767 GB, free: 8.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6356, allocations: 3.953 kB / 0.6767 GB, free: 8.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01203/0.6476, allocations: 4.043 MB / 0.6806 GB, free: 4.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6477, allocations: 8 kB / 0.6807 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6477, allocations: 4 kB / 0.6807 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/0.6532, allocations: 1.669 MB / 0.6823 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.6538, allocations: 116.8 kB / 0.6824 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.6686, allocations: 7.066 MB / 0.6893 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.67, allocations: 158.5 kB / 0.6895 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.6701, allocations: 24 kB / 0.6895 GB, free: 10.99 MB / 0.4948 GB 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.0002836/0.6704, allocations: 122.3 kB / 0.6896 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.6706, allocations: 114.6 kB / 0.6897 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6826, allocations: 3.992 MB / 0.6936 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6826, allocations: 11.95 kB / 0.6936 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6826, allocations: 0 / 0.6936 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.6827, allocations: 3.984 kB / 0.6936 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6967, allocations: 5.438 MB / 0.6989 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.6967, allocations: 4 kB / 0.6989 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.6974, allocations: 99.88 kB / 0.699 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/0.7028, allocations: 1.667 MB / 0.7007 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.703, allocations: 11.94 kB / 0.7007 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.7156, allocations: 6.184 MB / 0.7067 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7157, allocations: 4 kB / 0.7067 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.7291, allocations: 4.69 MB / 0.7113 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.7295, allocations: 188.5 kB / 0.7115 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.7296, allocations: 11.06 kB / 0.7115 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.7306, allocations: 111.9 kB / 0.7116 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/0.7313, allocations: 200.4 kB / 0.7118 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.7314, allocations: 27.95 kB / 0.7118 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006563/0.732, allocations: 471.1 kB / 0.7123 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.732, allocations: 0 / 0.7123 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001141/0.7332, allocations: 375.5 kB / 0.7126 GB, free: 2.992 MB / 0.5105 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.0002604/0.7334, allocations: 123.2 kB / 0.7127 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004881/0.7383, allocations: 1.856 MB / 0.7145 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7384, allocations: 1.406 kB / 0.7145 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004135/0.7425, allocations: 1.389 MB / 0.7159 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.7431, allocations: 56.86 kB / 0.716 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.7454, allocations: 1.282 MB / 0.7172 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.746, allocations: 1.052 MB / 0.7182 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.7462, allocations: 65.12 kB / 0.7183 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.7464, allocations: 43.44 kB / 0.7183 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/0.7464, allocations: 0 / 0.7183 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.02683/0.7733, allocations: 17.26 MB / 0.7352 GB, free: 11.95 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)