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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005592/0.005592, allocations: 101.4 kB / 15.88 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 239.5 MB, free: 4.84 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 188.5 kB / 289.8 MB, free: 2.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5148/0.5148, allocations: 91.9 MB / 431.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 79.88 kB / 0.5018 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3649, allocations: 71.26 MB / 0.5714 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00525/0.3702, allocations: 6.162 MB / 0.5775 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.3734, allocations: 1.818 MB / 0.5792 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006299/0.374, allocations: 12.31 kB / 0.5792 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.3745, allocations: 162.9 kB / 0.5794 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.3759, allocations: 0.6067 MB / 0.58 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3769, allocations: 0.5385 MB / 0.5805 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009887/0.3779, allocations: 1.193 MB / 0.5817 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.3783, allocations: 245.4 kB / 0.5819 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.3787, allocations: 493.4 kB / 0.5824 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.3792, allocations: 0.616 MB / 0.583 GB, free: 30 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.3793, allocations: 56.56 kB / 0.583 GB, free: 30 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.3798, allocations: 190.8 kB / 0.5832 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3799, allocations: 211.8 kB / 0.5834 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3802, allocations: 0.5152 MB / 0.5839 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.3809, allocations: 1.017 MB / 0.5849 GB, free: 29.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3809, allocations: 0 / 0.5849 GB, free: 29.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3809, allocations: 4 kB / 0.5849 GB, free: 29.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.381, allocations: 2.469 kB / 0.5849 GB, free: 29.07 MB / 430.1 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.007162/0.3881, allocations: 2.346 MB / 0.5872 GB, free: 27.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3882, allocations: 10.06 kB / 0.5872 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.3931, allocations: 0.7575 MB / 0.588 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3942, allocations: 0.702 MB / 0.5887 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.3944, allocations: 266.3 kB / 0.5889 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3946, allocations: 63.19 kB / 0.589 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3966, allocations: 0.9568 MB / 0.5899 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.3966, allocations: 3.938 kB / 0.5899 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.761e-05/0.3967, allocations: 24.78 kB / 0.5899 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3967, allocations: 20.11 kB / 0.59 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3988, allocations: 0.9761 MB / 0.5909 GB, free: 26.4 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.4042, allocations: 3.21 MB / 0.594 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.4061, allocations: 1.313 MB / 0.5953 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.4074, allocations: 0.702 MB / 0.596 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4075, allocations: 13.31 kB / 0.596 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4076, allocations: 43.78 kB / 0.5961 GB, free: 23.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.945e-06/0.4076, allocations: 4 kB / 0.5961 GB, free: 23.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02542/0.433, allocations: 6.47 MB / 0.6024 GB, free: 22.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4331, allocations: 65.27 kB / 0.6024 GB, free: 22.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4344, allocations: 0.7915 MB / 0.6032 GB, free: 21.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.4346, allocations: 40.98 kB / 0.6033 GB, free: 21.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.4349, allocations: 437.5 kB / 0.6037 GB, free: 21.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.4352, allocations: 299.6 kB / 0.604 GB, free: 21.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.4357, allocations: 189.4 kB / 0.6041 GB, free: 21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.4358, allocations: 343.2 kB / 0.6045 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4372, allocations: 0.6642 MB / 0.6051 GB, free: 20.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4388, allocations: 0.7808 MB / 0.6059 GB, free: 20.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/0.4566, allocations: 4.516 MB / 0.6103 GB, free: 18.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4566, allocations: 1.219 kB / 0.6103 GB, free: 18.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0135/0.4701, allocations: 4.07 MB / 0.6143 GB, free: 17.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.4702, allocations: 5.656 kB / 0.6143 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4702, allocations: 2.75 kB / 0.6143 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/0.4762, allocations: 1.74 MB / 0.616 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.4771, allocations: 177.8 kB / 0.6161 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/0.4945, allocations: 8.343 MB / 0.6243 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.496, allocations: 151.1 kB / 0.6244 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.4962, allocations: 35.98 kB / 0.6245 GB, free: 8.012 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.4966, allocations: 219.5 kB / 0.6247 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.4969, allocations: 114.6 kB / 0.6248 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.508, allocations: 3.809 MB / 0.6285 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.508, allocations: 12 kB / 0.6285 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.508, allocations: 0 / 0.6285 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.5081, allocations: 3.984 kB / 0.6285 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.5219, allocations: 5.356 MB / 0.6338 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.522, allocations: 4 kB / 0.6338 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.5226, allocations: 91.89 kB / 0.6338 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/0.5285, allocations: 1.741 MB / 0.6355 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.5287, allocations: 12 kB / 0.6356 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/0.5463, allocations: 7.347 MB / 0.6427 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5464, allocations: 0 / 0.6427 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/0.562, allocations: 4.688 MB / 0.6473 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/0.5627, allocations: 187.6 kB / 0.6475 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/0.5632, allocations: 16 kB / 0.6475 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.5646, allocations: 91.89 kB / 0.6476 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007972/0.5654, allocations: 192.7 kB / 0.6478 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5655, allocations: 23.98 kB / 0.6478 GB, free: 15.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000988/0.5665, allocations: 0.5342 MB / 0.6483 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.5665, allocations: 0 / 0.6483 GB, free: 15.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001926/0.5685, allocations: 415.5 kB / 0.6487 GB, free: 14.82 MB / 462.1 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 (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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.5689, allocations: 123.2 kB / 0.6488 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006975/0.5759, allocations: 2.264 MB / 0.651 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.5759, allocations: 3.938 kB / 0.6511 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004817/0.5807, allocations: 1.462 MB / 0.6525 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5819, allocations: 79.28 kB / 0.6526 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.5862, allocations: 2.189 MB / 0.6547 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.587, allocations: 1.033 MB / 0.6557 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.5874, allocations: 59.42 kB / 0.6558 GB, free: 7.535 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5874, allocations: 0 / 0.6558 GB, free: 7.535 MB / 462.1 MB Notification: Performance of Templates: time 0.02824/0.6156, allocations: 17.79 MB / 0.6731 GB, free: 5.734 MB / 478.1 MB 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)