Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 108.9 kB / 16.41 MB, free: 6.441 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.54/1.54, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.00157/0.00157, allocations: 191.9 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5777/0.5777, allocations: 91.91 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 81.92 kB / 0.5734 GB, free: 33.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 71.28 MB / 0.643 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007849/0.1425, allocations: 5.705 MB / 0.6486 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.1467, allocations: 1.735 MB / 0.6503 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/0.1475, allocations: 12 kB / 0.6503 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.1481, allocations: 198.3 kB / 0.6505 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1502, allocations: 0.7301 MB / 0.6512 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1515, allocations: 0.5535 MB / 0.6517 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.1535, allocations: 1.222 MB / 0.6529 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.154, allocations: 279 kB / 0.6532 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.155, allocations: 0.5212 MB / 0.6537 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.1558, allocations: 0.6338 MB / 0.6543 GB, free: 7.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.156, allocations: 88 kB / 0.6544 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.1567, allocations: 219.8 kB / 0.6546 GB, free: 7.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.157, allocations: 239 kB / 0.6549 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.1575, allocations: 0.5359 MB / 0.6554 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1593, allocations: 1.35 MB / 0.6567 GB, free: 5.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1593, allocations: 0 / 0.6567 GB, free: 5.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1593, allocations: 4 kB / 0.6567 GB, free: 5.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.1594, allocations: 0 / 0.6567 GB, free: 5.508 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008004/0.1674, allocations: 2.363 MB / 0.659 GB, free: 3.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1674, allocations: 8.031 kB / 0.659 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.1726, allocations: 0.7641 MB / 0.6598 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.1741, allocations: 0.7058 MB / 0.6604 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.1745, allocations: 247.5 kB / 0.6607 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1746, allocations: 68 kB / 0.6607 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1768, allocations: 0.9395 MB / 0.6617 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1768, allocations: 3.938 kB / 0.6617 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.1769, allocations: 28 kB / 0.6617 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1769, allocations: 16 kB / 0.6617 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.1792, allocations: 0.9695 MB / 0.6627 GB, free: 15.26 MB / 478.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.006198/0.1855, allocations: 3.144 MB / 0.6657 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.1879, allocations: 1.317 MB / 0.667 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.1895, allocations: 0.6982 MB / 0.6677 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1896, allocations: 16.62 kB / 0.6677 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.1897, allocations: 43.22 kB / 0.6678 GB, free: 9.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.896e-06/0.1897, allocations: 0 / 0.6678 GB, free: 9.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02773/0.2174, allocations: 6.701 MB / 0.6743 GB, free: 3.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.2175, allocations: 60.06 kB / 0.6744 GB, free: 2.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2187, allocations: 0.7982 MB / 0.6751 GB, free: 2.137 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.219, allocations: 37.7 kB / 0.6752 GB, free: 2.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.2194, allocations: 433 kB / 0.6756 GB, free: 1.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.2197, allocations: 305.4 kB / 0.6759 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.2201, allocations: 174.6 kB / 0.676 GB, free: 1.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2203, allocations: 349.9 kB / 0.6764 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.2218, allocations: 0.6425 MB / 0.677 GB, free: 200 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.2235, allocations: 0.7627 MB / 0.6777 GB, free: 15.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.2414, allocations: 4.442 MB / 0.6821 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.2415, allocations: 0 / 0.6821 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01406/0.2556, allocations: 4.044 MB / 0.686 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.2557, allocations: 4 kB / 0.686 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.2557, allocations: 4 kB / 0.686 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/0.2625, allocations: 1.862 MB / 0.6879 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00096/0.2635, allocations: 167.8 kB / 0.688 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.2871, allocations: 9.103 MB / 0.6969 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.2885, allocations: 163.1 kB / 0.6971 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.2887, allocations: 39.98 kB / 0.6971 GB, free: 11.38 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004771/0.2891, allocations: 214.2 kB / 0.6973 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.2894, allocations: 107.3 kB / 0.6974 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.303, allocations: 3.817 MB / 0.7011 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.3031, allocations: 19.98 kB / 0.7012 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3031, allocations: 0 / 0.7012 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.3031, allocations: 7.922 kB / 0.7012 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.3188, allocations: 5.322 MB / 0.7064 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.3189, allocations: 4 kB / 0.7064 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.3194, allocations: 83.89 kB / 0.7064 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006384/0.3258, allocations: 1.749 MB / 0.7082 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.3261, allocations: 12 kB / 0.7082 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.347, allocations: 8.085 MB / 0.7161 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.347, allocations: 4 kB / 0.7161 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.3629, allocations: 4.697 MB / 0.7207 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.3633, allocations: 184.3 kB / 0.7208 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.3637, allocations: 23.92 kB / 0.7208 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.3648, allocations: 87.97 kB / 0.7209 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/0.3656, allocations: 200.7 kB / 0.7211 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.3657, allocations: 20 kB / 0.7211 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008849/0.3666, allocations: 0.5302 MB / 0.7217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3666, allocations: 0 / 0.7217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001534/0.3681, allocations: 403.7 kB / 0.722 GB, free: 1.477 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0003254/0.3685, allocations: 127.2 kB / 0.7222 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007167/0.3757, allocations: 2.31 MB / 0.7244 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3757, allocations: 0 / 0.7244 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004919/0.3806, allocations: 1.5 MB / 0.7259 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/0.3815, allocations: 86.19 kB / 0.726 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.3853, allocations: 1.696 MB / 0.7276 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.3862, allocations: 1.029 MB / 0.7286 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003193/0.3866, allocations: 74.19 kB / 0.7287 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3868, allocations: 59.42 kB / 0.7288 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.3868, allocations: 0 / 0.7288 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.04349/0.4303, allocations: 22.32 MB / 0.7506 GB, free: 4.18 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)