Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 172.7 kB / 16.11 MB, free: 5.695 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.359/1.359, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0006874/0.0006875, allocations: 89.97 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2826/0.2826, allocations: 42.29 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 12 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09431, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.38, allocations: 92.24 MB / 0.5656 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3803, allocations: 85.77 kB / 0.5657 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05996/0.4403, allocations: 22.52 MB / 0.5877 GB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4403, allocations: 0 / 0.5877 GB, free: 8.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.839e-05/0.4404, allocations: 24 kB / 0.5877 GB, free: 8.785 MB / 410.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.004689/0.4451, allocations: 1.767 MB / 0.5895 GB, free: 6.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4451, allocations: 12.03 kB / 0.5895 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.4484, allocations: 0.5371 MB / 0.59 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.4499, allocations: 0.7344 MB / 0.5907 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.4502, allocations: 264.1 kB / 0.591 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.4503, allocations: 68 kB / 0.591 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.4526, allocations: 1.026 MB / 0.592 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4526, allocations: 0 / 0.592 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.4527, allocations: 24 kB / 0.5921 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4527, allocations: 16 kB / 0.5921 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.455, allocations: 1.062 MB / 0.5931 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005855/0.4608, allocations: 3.241 MB / 0.5963 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.4631, allocations: 1.362 MB / 0.5976 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4646, allocations: 0.7821 MB / 0.5984 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/0.4647, allocations: 9 kB / 0.5984 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4647, allocations: 39.56 kB / 0.5984 GB, free: 13.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 5.54e-06/0.4648, allocations: 3.984 kB / 0.5984 GB, free: 13.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02457/0.4893, allocations: 7.724 MB / 0.606 GB, free: 5.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4894, allocations: 60.41 kB / 0.606 GB, free: 5.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4905, allocations: 0.7634 MB / 0.6068 GB, free: 4.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4907, allocations: 37.7 kB / 0.6068 GB, free: 4.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.491, allocations: 444.3 kB / 0.6072 GB, free: 4.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.4913, allocations: 295.7 kB / 0.6075 GB, free: 4.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.4914, allocations: 19.94 kB / 0.6075 GB, free: 4.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4915, allocations: 334 kB / 0.6078 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4929, allocations: 0.6266 MB / 0.6085 GB, free: 3.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4943, allocations: 0.7375 MB / 0.6092 GB, free: 2.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/0.5068, allocations: 4.256 MB / 0.6133 GB, free: 14.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5068, allocations: 0 / 0.6133 GB, free: 14.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01309/0.5199, allocations: 4.717 MB / 0.6179 GB, free: 9.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.52, allocations: 8 kB / 0.618 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.52, allocations: 4 kB / 0.618 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.5262, allocations: 2.09 MB / 0.62 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5268, allocations: 131.8 kB / 0.6201 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.5473, allocations: 9.511 MB / 0.6294 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.5485, allocations: 171.3 kB / 0.6296 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/0.5486, allocations: 32 kB / 0.6296 GB, free: 13.21 MB / 458.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (63): * Single equations (assignments): 62 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.5491, allocations: 227.4 kB / 0.6298 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.5493, allocations: 98.78 kB / 0.6299 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.5621, allocations: 4.747 MB / 0.6345 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5622, allocations: 8 kB / 0.6346 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.5622, allocations: 0 / 0.6346 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5622, allocations: 3.984 kB / 0.6346 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.5766, allocations: 6.246 MB / 0.6407 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5766, allocations: 0 / 0.6407 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.5771, allocations: 99.89 kB / 0.6408 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00589/0.583, allocations: 2.058 MB / 0.6428 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.5831, allocations: 12 kB / 0.6428 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.6006, allocations: 8.194 MB / 0.6508 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6006, allocations: 0 / 0.6508 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.6158, allocations: 5.665 MB / 0.6563 GB, free: 1.516 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.6162, allocations: 195.6 kB / 0.6565 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.6164, allocations: 19.94 kB / 0.6565 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.6174, allocations: 131.9 kB / 0.6566 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005944/0.618, allocations: 196.6 kB / 0.6568 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.6181, allocations: 20 kB / 0.6568 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008376/0.6189, allocations: 0.5263 MB / 0.6574 GB, free: 436 kB / 474.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6189, allocations: 3.938 kB / 0.6574 GB, free: 432 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001316/0.6203, allocations: 399.5 kB / 0.6577 GB, free: 28 kB / 474.7 MB 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.0002705/0.6205, allocations: 135.1 kB / 0.6579 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006302/0.6268, allocations: 2.405 MB / 0.6602 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6269, allocations: 0 / 0.6602 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00481/0.6317, allocations: 1.69 MB / 0.6619 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6328, allocations: 94.23 kB / 0.662 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.6361, allocations: 2.09 MB / 0.664 GB, free: 9.566 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.6368, allocations: 1.037 MB / 0.665 GB, free: 8.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.6371, allocations: 57.23 kB / 0.6651 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.6374, allocations: 47.42 kB / 0.6651 GB, free: 8.398 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6374, allocations: 0 / 0.6651 GB, free: 8.398 MB / 490.7 MB Notification: Performance of Templates: time 0.2252/0.8626, allocations: 18.66 MB / 0.6833 GB, free: 128.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1)