Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005761/0.005761, allocations: 95.77 kB / 15.73 MB, free: 6.062 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 / 239.4 MB, free: 4.539 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.001353/0.001353, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.456/0.456, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 80.09 kB / 0.5536 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.316, allocations: 68.17 MB / 0.6202 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004286/0.3204, allocations: 5.75 MB / 0.6258 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3226, allocations: 1.736 MB / 0.6275 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.323, allocations: 11.94 kB / 0.6275 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.3234, allocations: 206.2 kB / 0.6277 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.3246, allocations: 0.6743 MB / 0.6284 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.3256, allocations: 0.5731 MB / 0.6289 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.3264, allocations: 1.237 MB / 0.6301 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.3267, allocations: 279.2 kB / 0.6304 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.3272, allocations: 0.5134 MB / 0.6309 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.3279, allocations: 0.6494 MB / 0.6315 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.328, allocations: 88 kB / 0.6316 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.3284, allocations: 227.9 kB / 0.6318 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3286, allocations: 246.8 kB / 0.6321 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.329, allocations: 0.5437 MB / 0.6326 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3303, allocations: 1.359 MB / 0.6339 GB, free: 12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3303, allocations: 4 kB / 0.6339 GB, free: 12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3303, allocations: 0 / 0.6339 GB, free: 12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.3304, allocations: 3.938 kB / 0.6339 GB, free: 11.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007059/0.3374, allocations: 2.379 MB / 0.6363 GB, free: 9.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3375, allocations: 11.97 kB / 0.6363 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.3423, allocations: 0.7641 MB / 0.637 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.3433, allocations: 0.7213 MB / 0.6377 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.3435, allocations: 252.2 kB / 0.638 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3437, allocations: 64 kB / 0.638 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3456, allocations: 0.956 MB / 0.639 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3456, allocations: 3.938 kB / 0.639 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.3457, allocations: 24 kB / 0.639 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3457, allocations: 23.94 kB / 0.639 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3478, allocations: 0.9799 MB / 0.64 GB, free: 5.672 MB / 446.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.004913/0.3527, allocations: 3.163 MB / 0.643 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.3546, allocations: 1.306 MB / 0.6443 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.356, allocations: 0.6983 MB / 0.645 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.3561, allocations: 12.64 kB / 0.645 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3562, allocations: 39.22 kB / 0.6451 GB, free: 176 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.334e-06/0.3562, allocations: 0 / 0.6451 GB, free: 176 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02619/0.3824, allocations: 6.771 MB / 0.6517 GB, free: 9.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3825, allocations: 60.06 kB / 0.6517 GB, free: 9.293 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3835, allocations: 0.8064 MB / 0.6525 GB, free: 8.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/0.3836, allocations: 37.7 kB / 0.6525 GB, free: 8.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.384, allocations: 441 kB / 0.653 GB, free: 7.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.3842, allocations: 305.4 kB / 0.6533 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.3846, allocations: 186.9 kB / 0.6534 GB, free: 7.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3847, allocations: 345.9 kB / 0.6538 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.3861, allocations: 0.6506 MB / 0.6544 GB, free: 6.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.3877, allocations: 0.7756 MB / 0.6552 GB, free: 5.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.4049, allocations: 4.489 MB / 0.6595 GB, free: 1.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4049, allocations: 7.938 kB / 0.6596 GB, free: 1.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01307/0.418, allocations: 4.122 MB / 0.6636 GB, free: 13.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4181, allocations: 8 kB / 0.6636 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4181, allocations: 0 / 0.6636 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006241/0.4244, allocations: 1.791 MB / 0.6653 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.4252, allocations: 167.7 kB / 0.6655 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.4467, allocations: 9.328 MB / 0.6746 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4481, allocations: 159.2 kB / 0.6748 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.4483, allocations: 36 kB / 0.6748 GB, free: 1.383 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005084/0.4488, allocations: 235.9 kB / 0.675 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.4491, allocations: 103.3 kB / 0.6751 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.4618, allocations: 3.836 MB / 0.6789 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.4619, allocations: 12 kB / 0.6789 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4619, allocations: 0 / 0.6789 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.4619, allocations: 3.984 kB / 0.6789 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.4765, allocations: 5.353 MB / 0.6841 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4765, allocations: 4 kB / 0.6841 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.477, allocations: 87.83 kB / 0.6842 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/0.483, allocations: 1.741 MB / 0.6859 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.4832, allocations: 19.98 kB / 0.6859 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/0.5026, allocations: 8.069 MB / 0.6938 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5027, allocations: 7.938 kB / 0.6938 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.5175, allocations: 4.713 MB / 0.6984 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.5179, allocations: 200.2 kB / 0.6986 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.5182, allocations: 12 kB / 0.6986 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.5192, allocations: 95.89 kB / 0.6987 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/0.5198, allocations: 196.7 kB / 0.6989 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.5199, allocations: 20 kB / 0.6989 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007606/0.5206, allocations: 0.5421 MB / 0.6994 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5206, allocations: 0 / 0.6994 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001364/0.522, allocations: 407.7 kB / 0.6998 GB, free: 7.379 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002721/0.5223, allocations: 131.1 kB / 0.6999 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006475/0.5288, allocations: 2.333 MB / 0.7022 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5288, allocations: 3.938 kB / 0.7022 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004667/0.5335, allocations: 1.504 MB / 0.7037 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.5342, allocations: 81 kB / 0.7038 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.5376, allocations: 1.763 MB / 0.7055 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.5382, allocations: 1.033 MB / 0.7065 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.5385, allocations: 78.17 kB / 0.7066 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.5387, allocations: 63.42 kB / 0.7066 GB, free: 312 kB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5387, allocations: 0 / 0.7066 GB, free: 312 kB / 0.4981 GB Notification: Performance of Templates: time 0.03514/0.5739, allocations: 22.6 MB / 0.7287 GB, free: 9.699 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)