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.001122/0.001127, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.317/1.317, allocations: 222.9 MB / 240 MB, free: 4.496 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.001217/0.001217, allocations: 192.3 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5376/0.5376, allocations: 91.91 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 87.86 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3138, allocations: 71.25 MB / 0.5729 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004523/0.3183, allocations: 5.706 MB / 0.5784 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3207, allocations: 1.728 MB / 0.5801 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.321, allocations: 12.47 kB / 0.5801 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.3214, allocations: 204.8 kB / 0.5803 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.3227, allocations: 0.6699 MB / 0.581 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.3237, allocations: 0.5661 MB / 0.5815 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.3246, allocations: 1.23 MB / 0.5827 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.325, allocations: 277.1 kB / 0.583 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.3254, allocations: 0.5164 MB / 0.5835 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.3259, allocations: 0.6364 MB / 0.5841 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-05/0.326, allocations: 86.53 kB / 0.5842 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.3263, allocations: 223.5 kB / 0.5844 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.3265, allocations: 240.8 kB / 0.5847 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.3268, allocations: 0.5365 MB / 0.5852 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.3277, allocations: 1.333 MB / 0.5865 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3277, allocations: 0 / 0.5865 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3277, allocations: 0 / 0.5865 GB, free: 29.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3277, allocations: 0 / 0.5865 GB, free: 29.09 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00658/0.3343, allocations: 2.336 MB / 0.5888 GB, free: 28.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3343, allocations: 13.62 kB / 0.5888 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/0.3391, allocations: 0.7587 MB / 0.5895 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.34, allocations: 0.7016 MB / 0.5902 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.3403, allocations: 251.8 kB / 0.5904 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3404, allocations: 68.53 kB / 0.5905 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3421, allocations: 0.9408 MB / 0.5914 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3422, allocations: 7.219 kB / 0.5914 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.3423, allocations: 26 kB / 0.5915 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3423, allocations: 15 kB / 0.5915 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.3441, allocations: 0.9674 MB / 0.5924 GB, free: 26.45 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.00428/0.3484, allocations: 3.133 MB / 0.5955 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3503, allocations: 1.31 MB / 0.5968 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3517, allocations: 0.7034 MB / 0.5974 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.3518, allocations: 10.84 kB / 0.5975 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3518, allocations: 42.53 kB / 0.5975 GB, free: 23.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.404e-06/0.3518, allocations: 0 / 0.5975 GB, free: 23.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02422/0.3761, allocations: 6.693 MB / 0.604 GB, free: 22.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3761, allocations: 61.11 kB / 0.6041 GB, free: 22.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3772, allocations: 0.7987 MB / 0.6049 GB, free: 21.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.3772, allocations: 41.17 kB / 0.6049 GB, free: 21.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.3775, allocations: 429.4 kB / 0.6053 GB, free: 21.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3777, allocations: 285.2 kB / 0.6056 GB, free: 21.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.378, allocations: 179.9 kB / 0.6058 GB, free: 21.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.3781, allocations: 341.3 kB / 0.6061 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3794, allocations: 0.6399 MB / 0.6067 GB, free: 20.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3808, allocations: 0.7643 MB / 0.6075 GB, free: 20.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/0.3968, allocations: 4.449 MB / 0.6118 GB, free: 18.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3969, allocations: 5.375 kB / 0.6118 GB, free: 18.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01167/0.4085, allocations: 4.043 MB / 0.6158 GB, free: 17.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4086, allocations: 6.219 kB / 0.6158 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4086, allocations: 2.344 kB / 0.6158 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/0.414, allocations: 1.864 MB / 0.6176 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.4147, allocations: 163.8 kB / 0.6177 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.4317, allocations: 9.095 MB / 0.6266 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.4329, allocations: 155 kB / 0.6268 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.433, allocations: 32 kB / 0.6268 GB, free: 6.625 MB / 430.1 MB 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.0003543/0.4333, allocations: 225.7 kB / 0.627 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4335, allocations: 98.78 kB / 0.6271 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.4438, allocations: 3.825 MB / 0.6308 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4438, allocations: 8 kB / 0.6309 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4438, allocations: 0 / 0.6309 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4438, allocations: 3.984 kB / 0.6309 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.4563, allocations: 5.325 MB / 0.6361 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4563, allocations: 0 / 0.6361 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.4568, allocations: 87.89 kB / 0.6361 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/0.4623, allocations: 1.753 MB / 0.6379 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.4624, allocations: 16 kB / 0.6379 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.4798, allocations: 8.068 MB / 0.6458 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4799, allocations: 0 / 0.6458 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.4933, allocations: 4.689 MB / 0.6503 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.4937, allocations: 179.7 kB / 0.6505 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.4939, allocations: 19.94 kB / 0.6505 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.4947, allocations: 95.95 kB / 0.6506 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/0.4954, allocations: 196.7 kB / 0.6508 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.4954, allocations: 19.94 kB / 0.6508 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006584/0.4961, allocations: 0.5341 MB / 0.6513 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4961, allocations: 0 / 0.6513 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4972, allocations: 399.5 kB / 0.6517 GB, free: 12.75 MB / 462.1 MB 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.0002434/0.4975, allocations: 133.7 kB / 0.6518 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.5034, allocations: 2.299 MB / 0.6541 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5034, allocations: 8.125 kB / 0.6541 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.5077, allocations: 1.499 MB / 0.6556 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.5084, allocations: 77.94 kB / 0.6556 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.5112, allocations: 1.647 MB / 0.6572 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.5118, allocations: 1.025 MB / 0.6583 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.512, allocations: 78.17 kB / 0.6583 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5122, allocations: 59.42 kB / 0.6584 GB, free: 5.844 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5122, allocations: 0 / 0.6584 GB, free: 5.844 MB / 462.1 MB Notification: Performance of Templates: time 0.1432/0.6554, allocations: 22.09 MB / 0.68 GB, free: 15.75 MB / 494.1 MB 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)