Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001312/0.001312, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.374/1.374, allocations: 230.6 MB / 252.7 MB, free: 8.312 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.001527/0.001527, allocations: 205.3 kB / 309.2 MB, free: 3.207 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.5389/0.5389, allocations: 101.4 MB / 467 MB, free: 10.35 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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.002402/0.002402, allocations: 87.88 kB / 0.6245 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4084, allocations: 78.61 MB / 0.7013 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01752/0.4259, allocations: 22.05 MB / 0.7229 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4382, allocations: 4.95 MB / 0.7277 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.4426, allocations: 43.62 kB / 0.7277 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.4457, allocations: 0.8878 MB / 0.7286 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008854/0.4545, allocations: 2.326 MB / 0.7309 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.4606, allocations: 2.072 MB / 0.7329 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.4713, allocations: 5.809 MB / 0.7386 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.4738, allocations: 0.9139 MB / 0.7395 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.4789, allocations: 2.413 MB / 0.7418 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.4843, allocations: 2.987 MB / 0.7447 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.4861, allocations: 448.5 kB / 0.7452 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.4888, allocations: 0.6147 MB / 0.7458 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.4908, allocations: 1.163 MB / 0.7469 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004879/0.4957, allocations: 2.631 MB / 0.7495 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.5065, allocations: 6.311 MB / 0.7556 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5065, allocations: 5.141 kB / 0.7556 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5065, allocations: 0 / 0.7556 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000277/0.5068, allocations: 0 / 0.7556 GB, free: 3.805 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03353/0.5403, allocations: 9.969 MB / 0.7654 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.5404, allocations: 12.77 kB / 0.7654 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006802/0.541, allocations: 493.9 kB / 0.7658 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02551/0.5666, allocations: 4.048 MB / 0.7698 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/0.5728, allocations: 2.602 MB / 0.7723 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/0.5739, allocations: 1.033 MB / 0.7734 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000967/0.5748, allocations: 348 kB / 0.7737 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009548/0.5844, allocations: 4.739 MB / 0.7783 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.5844, allocations: 0 / 0.7783 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.5848, allocations: 144 kB / 0.7784 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.5849, allocations: 84 kB / 0.7785 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009073/0.5939, allocations: 4.263 MB / 0.7827 GB, free: 12.74 MB / 0.545 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.03542/0.6294, allocations: 18.08 MB / 0.8004 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.6417, allocations: 4.36 MB / 0.8046 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005906/0.6476, allocations: 2.482 MB / 0.807 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/0.6482, allocations: 74.86 kB / 0.8071 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007426/0.6556, allocations: 3.189 MB / 0.8102 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 7.754e-06/0.6557, allocations: 0 / 0.8102 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2999/0.9555, allocations: 67.5 MB / 0.8761 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.9556, allocations: 149.8 kB / 0.8763 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.9614, allocations: 3.258 MB / 0.8795 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008755/0.9623, allocations: 89.7 kB / 0.8795 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.9641, allocations: 2.005 MB / 0.8815 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/0.9662, allocations: 1.383 MB / 0.8829 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/0.9689, allocations: 0.6823 MB / 0.8835 GB, free: 4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.969, allocations: 309.1 kB / 0.8838 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006206/0.9752, allocations: 2.605 MB / 0.8864 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006931/0.9821, allocations: 3.233 MB / 0.8895 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07181/1.054, allocations: 19.21 MB / 0.9083 GB, free: 10.15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/1.054, allocations: 4 kB / 0.9083 GB, free: 10.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05743/1.111, allocations: 17.19 MB / 0.9251 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-05/1.111, allocations: 65.44 kB / 0.9251 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.111, allocations: 16 kB / 0.9251 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02576/1.137, allocations: 7.157 MB / 0.9321 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.141, allocations: 0.6904 MB / 0.9328 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09274/1.234, allocations: 33.25 MB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/1.24, allocations: 0.6338 MB / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009015/1.241, allocations: 148 kB / 0.966 GB, free: 14.77 MB / 0.7325 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002645/1.243, allocations: 0.6719 MB / 0.9667 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.245, allocations: 484.8 kB / 0.9672 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3217/1.566, allocations: 16.74 MB / 0.9835 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-05/1.567, allocations: 37.19 kB / 0.9835 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-05/1.567, allocations: 28.94 kB / 0.9836 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.794e-05/1.567, allocations: 23.22 kB / 0.9836 GB, free: 232 MB / 0.7325 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.05752/1.624, allocations: 21.72 MB / 1.005 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.624, allocations: 3.375 kB / 1.005 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.626, allocations: 394.3 kB / 1.005 GB, free: 228.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02375/1.65, allocations: 7.373 MB / 1.012 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007491/1.651, allocations: 69.12 kB / 1.012 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06775/1.719, allocations: 31.63 MB / 1.043 GB, free: 213.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.719, allocations: 0 / 1.043 GB, free: 213.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05333/1.772, allocations: 20.15 MB / 1.063 GB, free: 194 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.773, allocations: 0.509 MB / 1.064 GB, free: 193.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.775, allocations: 71.92 kB / 1.064 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/1.779, allocations: 375.6 kB / 1.064 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002595/1.781, allocations: 0.823 MB / 1.065 GB, free: 192.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/1.781, allocations: 91.98 kB / 1.065 GB, free: 192.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002452/1.784, allocations: 2.145 MB / 1.067 GB, free: 190 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/1.784, allocations: 0 / 1.067 GB, free: 190 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004816/1.789, allocations: 1.812 MB / 1.069 GB, free: 188.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05427/1.843, allocations: 20.81 MB / 1.089 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02259/1.866, allocations: 8.805 MB / 1.098 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.866, allocations: 0 / 1.098 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01737/1.883, allocations: 5.905 MB / 1.103 GB, free: 152.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.886, allocations: 391.4 kB / 1.104 GB, free: 152.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1319/2.018, allocations: 59.01 MB / 1.161 GB, free: 92.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/2.019, allocations: 2.459 MB / 1.164 GB, free: 89.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00143/2.02, allocations: 371.1 kB / 1.164 GB, free: 89.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/2.022, allocations: 2.026 MB / 1.166 GB, free: 87.5 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/2.022, allocations: 0 / 1.166 GB, free: 87.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/2.486, allocations: 131.5 MB / 1.295 GB, free: 242.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.06/24.54, allocations: 7.094 kB / 1.295 GB, free: 242.8 MB / 0.7481 GB " [Timeout remaining time 635] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.699976820964366] Failed to read output from testmodel.py, exit status != 0: 24.729932822985575 24.74696502 24.237093472 Calling exit ...