Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 192.2 kB / 299.8 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.572/0.572, allocations: 99.67 MB / 454.4 MB, free: 5.059 MB / 318.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.88 kB / 0.6075 GB, free: 9.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1912, allocations: 76.93 MB / 0.6826 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.431/0.6221, allocations: 21.92 MB / 0.704 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.6357, allocations: 4.862 MB / 0.7087 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005797/0.6415, allocations: 43.78 kB / 0.7088 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.6446, allocations: 0.8804 MB / 0.7096 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.6541, allocations: 2.287 MB / 0.7119 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005985/0.6601, allocations: 2.058 MB / 0.7139 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.6718, allocations: 5.712 MB / 0.7195 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.675, allocations: 0.9218 MB / 0.7204 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.6808, allocations: 2.329 MB / 0.7226 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007408/0.6882, allocations: 2.945 MB / 0.7255 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002551/0.6908, allocations: 436.5 kB / 0.7259 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.6945, allocations: 0.5788 MB / 0.7265 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.6975, allocations: 1.147 MB / 0.7276 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008494/0.706, allocations: 2.609 MB / 0.7302 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.7207, allocations: 6.246 MB / 0.7363 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7207, allocations: 1.375 kB / 0.7363 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7207, allocations: 0 / 0.7363 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000395/0.7211, allocations: 0 / 0.7363 GB, free: 4.133 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03913/0.7602, allocations: 9.313 MB / 0.7454 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.7603, allocations: 13.41 kB / 0.7454 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001884/0.7622, allocations: 491.1 kB / 0.7458 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/0.791, allocations: 4.038 MB / 0.7498 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009689/0.8007, allocations: 2.687 MB / 0.7524 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001623/0.8023, allocations: 0.9609 MB / 0.7533 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.8044, allocations: 342.2 kB / 0.7537 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.8208, allocations: 4.732 MB / 0.7583 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.8209, allocations: 0.8906 kB / 0.7583 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/0.8221, allocations: 140 kB / 0.7584 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.8223, allocations: 87.94 kB / 0.7585 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.8346, allocations: 4.244 MB / 0.7627 GB, free: 496 kB / 0.5137 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.04825/0.8828, allocations: 18.26 MB / 0.7805 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/0.8968, allocations: 4.646 MB / 0.785 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007102/0.9039, allocations: 2.48 MB / 0.7874 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008452/0.9048, allocations: 78.83 kB / 0.7875 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009293/0.9141, allocations: 3.171 MB / 0.7906 GB, free: 2.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 1.109e-05/0.9141, allocations: 0 / 0.7906 GB, free: 2.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.3165/1.231, allocations: 67.94 MB / 0.857 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.231, allocations: 149.8 kB / 0.8571 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007811/1.239, allocations: 3.21 MB / 0.8602 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/1.24, allocations: 93.7 kB / 0.8603 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.242, allocations: 1.997 MB / 0.8623 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002915/1.245, allocations: 1.383 MB / 0.8636 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003993/1.249, allocations: 0.6745 MB / 0.8643 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.249, allocations: 309 kB / 0.8646 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007051/1.256, allocations: 2.585 MB / 0.8671 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007907/1.264, allocations: 3.209 MB / 0.8702 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07448/1.339, allocations: 18.77 MB / 0.8886 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.19e-05/1.339, allocations: 4 kB / 0.8886 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06263/1.401, allocations: 17.14 MB / 0.9053 GB, free: 12.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.401, allocations: 71.39 kB / 0.9054 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/1.401, allocations: 12 kB / 0.9054 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0265/1.428, allocations: 7.161 MB / 0.9124 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.432, allocations: 0.667 MB / 0.913 GB, free: 4.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09482/1.526, allocations: 33.33 MB / 0.9456 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.533, allocations: 0.626 MB / 0.9462 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.534, allocations: 156 kB / 0.9464 GB, free: 2.02 MB / 0.7012 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.003238/1.538, allocations: 0.6777 MB / 0.947 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/1.54, allocations: 480.9 kB / 0.9475 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0599/1.6, allocations: 16.71 MB / 0.9638 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/1.6, allocations: 40 kB / 0.9638 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001356/1.6, allocations: 28 kB / 0.9639 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001484/1.6, allocations: 26.89 kB / 0.9639 GB, free: 15.99 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.499/2.099, allocations: 21.71 MB / 0.9851 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/2.099, allocations: 0 / 0.9851 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/2.101, allocations: 389.2 kB / 0.9855 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02789/2.129, allocations: 7.346 MB / 0.9926 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/2.13, allocations: 69.89 kB / 0.9927 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07692/2.207, allocations: 31.84 MB / 1.024 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.207, allocations: 3.969 kB / 1.024 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0589/2.266, allocations: 20.1 MB / 1.043 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/2.269, allocations: 0.5804 MB / 1.044 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/2.27, allocations: 68 kB / 1.044 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/2.275, allocations: 375.5 kB / 1.044 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003047/2.278, allocations: 0.7822 MB / 1.045 GB, free: 218.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/2.278, allocations: 103.5 kB / 1.045 GB, free: 218.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002655/2.281, allocations: 2.101 MB / 1.047 GB, free: 216.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/2.281, allocations: 0 / 1.047 GB, free: 216.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00555/2.286, allocations: 1.8 MB / 1.049 GB, free: 215 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.05749/2.344, allocations: 20.78 MB / 1.069 GB, free: 196.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02471/2.369, allocations: 8.756 MB / 1.078 GB, free: 187.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/2.369, allocations: 0 / 1.078 GB, free: 187.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01847/2.387, allocations: 5.859 MB / 1.084 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/2.393, allocations: 386.1 kB / 1.084 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1651/2.558, allocations: 58.6 MB / 1.141 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/2.562, allocations: 2.447 MB / 1.144 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002449/2.564, allocations: 376.6 kB / 1.144 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003224/2.567, allocations: 1.983 MB / 1.146 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.352e-06/2.567, allocations: 0 / 1.146 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6044/3.172, allocations: 127.2 MB / 1.27 GB, free: 241.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.77/26.94, allocations: 5.5 kB / 1.27 GB, free: 241.7 MB / 0.7325 GB " [Timeout remaining time 633] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.628728177864105] Failed to read output from testmodel.py, exit status != 0: 27.10125529905781 27.112714549 26.389268511 Calling exit ...