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.004324/0.004324, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 93.42 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4269/0.4269, allocations: 79.43 MB / 420.8 MB, free: 36.31 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 69.51 MB / 0.5569 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3202/0.432, allocations: 98.03 MB / 0.6527 GB, free: 3.191 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4322, allocations: 79.95 kB / 0.6527 GB, free: 3.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0597/0.4919, allocations: 24.17 MB / 0.6763 GB, free: 11.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.492, allocations: 0 / 0.6763 GB, free: 11.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.067e-05/0.492, allocations: 24 kB / 0.6764 GB, free: 10.98 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.004804/0.4968, allocations: 1.775 MB / 0.6781 GB, free: 9.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4969, allocations: 12.03 kB / 0.6781 GB, free: 9.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.5002, allocations: 0.546 MB / 0.6786 GB, free: 8.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.502, allocations: 0.6835 MB / 0.6793 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.5023, allocations: 256.2 kB / 0.6796 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.5025, allocations: 68.66 kB / 0.6796 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.5047, allocations: 1.022 MB / 0.6806 GB, free: 6.492 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5047, allocations: 7.953 kB / 0.6806 GB, free: 6.484 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.5048, allocations: 24 kB / 0.6806 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.5048, allocations: 16 kB / 0.6807 GB, free: 6.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.507, allocations: 1.058 MB / 0.6817 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005903/0.5129, allocations: 3.268 MB / 0.6849 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.5148, allocations: 1.361 MB / 0.6862 GB, free: 496 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.515, allocations: 18.19 kB / 0.6862 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.515, allocations: 43.56 kB / 0.6863 GB, free: 428 kB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.425e-06/0.515, allocations: 0 / 0.6863 GB, free: 428 kB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.02498/0.54, allocations: 7.693 MB / 0.6938 GB, free: 8.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5401, allocations: 60.41 kB / 0.6938 GB, free: 8.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.541, allocations: 0.6689 MB / 0.6945 GB, free: 7.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.5411, allocations: 37.7 kB / 0.6945 GB, free: 7.902 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.5415, allocations: 448.3 kB / 0.695 GB, free: 7.457 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.5418, allocations: 295.7 kB / 0.6952 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.5419, allocations: 16 kB / 0.6953 GB, free: 7.148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.542, allocations: 333.9 kB / 0.6956 GB, free: 6.816 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.5433, allocations: 0.6344 MB / 0.6962 GB, free: 6.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.5447, allocations: 0.7316 MB / 0.6969 GB, free: 5.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.5463, allocations: 0.6755 MB / 0.6976 GB, free: 4.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5463, allocations: 0 / 0.6976 GB, free: 4.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01416/0.5605, allocations: 4.782 MB / 0.7022 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5606, allocations: 8 kB / 0.7022 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5606, allocations: 6 kB / 0.7023 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006521/0.5671, allocations: 2.087 MB / 0.7043 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.5678, allocations: 119.8 kB / 0.7044 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.5897, allocations: 9.98 MB / 0.7142 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.591, allocations: 171.2 kB / 0.7143 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.5911, allocations: 28 kB / 0.7143 GB, free: 3.422 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.000531/0.5917, allocations: 229.1 kB / 0.7146 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.5919, allocations: 102.8 kB / 0.7147 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.6054, allocations: 4.743 MB / 0.7193 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6054, allocations: 11.98 kB / 0.7193 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6054, allocations: 0 / 0.7193 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.6054, allocations: 3.984 kB / 0.7193 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.6214, allocations: 6.246 MB / 0.7254 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.6215, allocations: 0 / 0.7254 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.6221, allocations: 98.64 kB / 0.7255 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006325/0.6284, allocations: 2.064 MB / 0.7275 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.6287, allocations: 20 kB / 0.7275 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.6475, allocations: 8.627 MB / 0.736 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6476, allocations: 0 / 0.736 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.6627, allocations: 5.669 MB / 0.7415 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.6632, allocations: 187.7 kB / 0.7417 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.6635, allocations: 19.98 kB / 0.7417 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.6646, allocations: 123.9 kB / 0.7418 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006752/0.6653, allocations: 209.1 kB / 0.742 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.6654, allocations: 16 kB / 0.742 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008078/0.6662, allocations: 0.5224 MB / 0.7425 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6662, allocations: 0 / 0.7425 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001529/0.6678, allocations: 399.5 kB / 0.7429 GB, free: 5.82 MB / 0.5261 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 () * Number of clocked 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.0003336/0.6681, allocations: 147.2 kB / 0.7431 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006258/0.6744, allocations: 2.401 MB / 0.7454 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6744, allocations: 10.16 kB / 0.7454 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/0.6792, allocations: 1.698 MB / 0.7471 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.6799, allocations: 68.75 kB / 0.7471 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.6834, allocations: 2.127 MB / 0.7492 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.6841, allocations: 1.052 MB / 0.7502 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.6844, allocations: 65.2 kB / 0.7503 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.6845, allocations: 43.44 kB / 0.7503 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/0.6846, allocations: 4 kB / 0.7503 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.02913/0.7137, allocations: 18.61 MB / 0.7685 GB, free: 11.57 MB / 0.5573 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)