Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 252.7 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 217 kB / 309.2 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5244/0.5244, allocations: 101.3 MB / 467 MB, free: 10.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 91.86 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4319, allocations: 78.59 MB / 0.7012 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006411/0.4383, allocations: 6.817 MB / 0.7079 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.442, allocations: 2.076 MB / 0.7099 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.4425, allocations: 10.38 kB / 0.7099 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.4432, allocations: 243.7 kB / 0.7101 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.4449, allocations: 0.8995 MB / 0.711 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4462, allocations: 0.6503 MB / 0.7116 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.4478, allocations: 1.702 MB / 0.7133 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.4482, allocations: 230.1 kB / 0.7135 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008452/0.449, allocations: 0.7119 MB / 0.7142 GB, free: 488 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.45, allocations: 0.896 MB / 0.7151 GB, free: 60 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.4502, allocations: 129.9 kB / 0.7152 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.4507, allocations: 293.5 kB / 0.7155 GB, free: 4 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.4511, allocations: 347.8 kB / 0.7158 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006818/0.4518, allocations: 0.7016 MB / 0.7165 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.4539, allocations: 1.759 MB / 0.7182 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4539, allocations: 0.7031 kB / 0.7182 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4539, allocations: 0 / 0.7182 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.4539, allocations: 0 / 0.7182 GB, free: 14.51 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009334/0.4632, allocations: 2.915 MB / 0.7211 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4633, allocations: 12.39 kB / 0.7211 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.4635, allocations: 126 kB / 0.7212 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.4683, allocations: 0.7994 MB / 0.722 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.47, allocations: 0.8731 MB / 0.7228 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.4704, allocations: 336.3 kB / 0.7232 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.4706, allocations: 88.66 kB / 0.7232 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4729, allocations: 1.109 MB / 0.7243 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4729, allocations: 4.812 kB / 0.7243 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.473, allocations: 34.8 kB / 0.7244 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.4731, allocations: 18.44 kB / 0.7244 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.4754, allocations: 1.008 MB / 0.7254 GB, free: 11.22 MB / 0.4981 GB 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.007707/0.4831, allocations: 3.852 MB / 0.7291 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007333/0.4904, allocations: 2.035 MB / 0.7311 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.4918, allocations: 0.6292 MB / 0.7317 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.4919, allocations: 14.64 kB / 0.7317 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.4936, allocations: 0.8452 MB / 0.7326 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.996e-06/0.4936, allocations: 5.188 kB / 0.7326 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.0284/0.522, allocations: 6.897 MB / 0.7393 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5221, allocations: 125.7 kB / 0.7394 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.524, allocations: 1.145 MB / 0.7405 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.5242, allocations: 45.92 kB / 0.7406 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.5247, allocations: 0.5045 MB / 0.7411 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.5251, allocations: 380.3 kB / 0.7414 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.5257, allocations: 298.2 kB / 0.7417 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5258, allocations: 306.2 kB / 0.742 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.5275, allocations: 0.7951 MB / 0.7428 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.5294, allocations: 0.9715 MB / 0.7437 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02603/0.5554, allocations: 6.134 MB / 0.7497 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.5554, allocations: 0 / 0.7497 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01438/0.5698, allocations: 4.491 MB / 0.7541 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.5699, allocations: 61.75 kB / 0.7542 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.5699, allocations: 7.984 kB / 0.7542 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006205/0.5761, allocations: 1.666 MB / 0.7558 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.5776, allocations: 295.6 kB / 0.7561 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.5986, allocations: 8.536 MB / 0.7644 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.6009, allocations: 211.1 kB / 0.7646 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.6011, allocations: 55.98 kB / 0.7647 GB, free: 14.91 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000706/0.6018, allocations: 308.1 kB / 0.765 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.6021, allocations: 139 kB / 0.7651 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.6151, allocations: 3.893 MB / 0.7689 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.6151, allocations: 12 kB / 0.7689 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.6151, allocations: 4 kB / 0.7689 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.6152, allocations: 7.984 kB / 0.7689 GB, free: 10.52 MB / 0.5294 GB 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 postOpt removeSimpleEquations (simulation): time 0.01532/0.6305, allocations: 5.498 MB / 0.7743 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.6305, allocations: 0 / 0.7743 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.6312, allocations: 107.8 kB / 0.7744 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/0.6367, allocations: 1.595 MB / 0.776 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.6368, allocations: 23.98 kB / 0.776 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/0.6577, allocations: 9.432 MB / 0.7852 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6577, allocations: 64 / 0.7852 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.673, allocations: 4.79 MB / 0.7899 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.6735, allocations: 166.7 kB / 0.79 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.6738, allocations: 20 kB / 0.7901 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6753, allocations: 111.9 kB / 0.7902 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005786/0.6759, allocations: 200.6 kB / 0.7904 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.676, allocations: 31.98 kB / 0.7904 GB, free: 4.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001424/0.6774, allocations: 0.7634 MB / 0.7911 GB, free: 3.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6774, allocations: 4 kB / 0.7911 GB, free: 3.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001685/0.6791, allocations: 495.7 kB / 0.7916 GB, free: 2.914 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01547/0.6945, allocations: 5.375 MB / 0.7969 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007113/0.7017, allocations: 2.476 MB / 0.7993 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7017, allocations: 4.75 kB / 0.7993 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004562/0.7062, allocations: 1.564 MB / 0.8008 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7075, allocations: 118.8 kB / 0.8009 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04407/0.7516, allocations: 16.79 MB / 0.8173 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/0.7524, allocations: 1.128 MB / 0.8184 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005861/0.753, allocations: 124.3 kB / 0.8185 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008475/0.7539, allocations: 495.3 kB / 0.819 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7539, allocations: 0 / 0.819 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08949/0.8434, allocations: 36.96 MB / 0.8551 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.8, allocations: 4 kB / 0.8551 GB, free: 1.664 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.18309158482589] Failed to read output from testmodel.py, exit status != 0: 15.938076848862693 15.964333969 15.505871528 Calling exit ...