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.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.0007518/0.0007518, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8396/0.8396, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001142/0.001142, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2498/0.2498, allocations: 80.37 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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.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 1.553e-06/1.553e-06, allocations: 0 / 0.5551 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.256e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.11 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.1876/0.1876, allocations: 18.49 MB / 0.5731 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007774/0.1953, allocations: 4.827 MB / 0.5778 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.197, allocations: 47.75 kB / 0.5779 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.1983, allocations: 0.8879 MB / 0.5788 GB, free: 10.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.2014, allocations: 2.345 MB / 0.581 GB, free: 9.102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.2043, allocations: 2.083 MB / 0.5831 GB, free: 8.035 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003599/0.2078, allocations: 5.863 MB / 0.5888 GB, free: 4.926 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.2087, allocations: 0.8671 MB / 0.5896 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.211, allocations: 3.304 MB / 0.5929 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.2126, allocations: 2.26 MB / 0.5951 GB, free: 2.141 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.2131, allocations: 437.2 kB / 0.5955 GB, free: 2.141 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.2138, allocations: 0.5976 MB / 0.5961 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.2143, allocations: 1.183 MB / 0.5972 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009805/0.2153, allocations: 1.725 MB / 0.5989 GB, free: 144 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.2192, allocations: 6.311 MB / 0.6051 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2192, allocations: 0 / 0.6051 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2192, allocations: 1.469 kB / 0.6051 GB, free: 11.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.585e-05/0.2193, allocations: 0 / 0.6051 GB, free: 11.52 MB / 458.7 MB 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.01498/0.2342, allocations: 9.845 MB / 0.6147 GB, free: 5.535 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2343, allocations: 12.03 kB / 0.6147 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004207/0.2347, allocations: 484.8 kB / 0.6152 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.2468, allocations: 4.051 MB / 0.6191 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.2498, allocations: 2.572 MB / 0.6216 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005354/0.2503, allocations: 1.029 MB / 0.6226 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.2507, allocations: 352 kB / 0.623 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.2561, allocations: 4.748 MB / 0.6276 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.2561, allocations: 0 / 0.6276 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.2564, allocations: 144 kB / 0.6278 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.2564, allocations: 87.94 kB / 0.6278 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007382/0.2638, allocations: 4.245 MB / 0.632 GB, free: 3.527 MB / 474.7 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.02491/0.2887, allocations: 13.44 MB / 0.6451 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/0.2962, allocations: 4.357 MB / 0.6494 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/0.3002, allocations: 2.498 MB / 0.6518 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.3005, allocations: 62.95 kB / 0.6519 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004781/0.3053, allocations: 3.198 MB / 0.655 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 6.713e-06/0.3053, allocations: 0 / 0.655 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.155/0.4603, allocations: 67.82 MB / 0.7212 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.4604, allocations: 153.8 kB / 0.7214 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/0.4646, allocations: 3.237 MB / 0.7245 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009026/0.4655, allocations: 89.7 kB / 0.7246 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.4665, allocations: 2.001 MB / 0.7266 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.4683, allocations: 1.359 MB / 0.7279 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.4694, allocations: 0.6706 MB / 0.7286 GB, free: 15.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.4694, allocations: 305.1 kB / 0.7288 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/0.4731, allocations: 2.639 MB / 0.7314 GB, free: 12.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.4773, allocations: 3.26 MB / 0.7346 GB, free: 9.402 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0405/0.5178, allocations: 19 MB / 0.7532 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.409e-05/0.5178, allocations: 4 kB / 0.7532 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.03354/0.5514, allocations: 17.19 MB / 0.77 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.5514, allocations: 74.14 kB / 0.77 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.5515, allocations: 16 kB / 0.77 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.5654, allocations: 7.154 MB / 0.777 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.5677, allocations: 0.6747 MB / 0.7777 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2337/0.8014, allocations: 32.36 MB / 0.8093 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.805, allocations: 0.6321 MB / 0.8099 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.8053, allocations: 153.6 kB / 0.8101 GB, free: 196.4 MB / 0.6355 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.001292/0.8065, allocations: 0.6742 MB / 0.8107 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.8071, allocations: 480.7 kB / 0.8112 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02869/0.8358, allocations: 16.74 MB / 0.8275 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.8358, allocations: 41.69 kB / 0.8276 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/0.8358, allocations: 28.12 kB / 0.8276 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.8358, allocations: 19.2 kB / 0.8276 GB, free: 195 MB / 0.6355 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.0287/0.8645, allocations: 20.39 MB / 0.8475 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.8645, allocations: 0 / 0.8475 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/0.8655, allocations: 392.9 kB / 0.8479 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/0.8767, allocations: 7.342 MB / 0.8551 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.8769, allocations: 71.75 kB / 0.8551 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0371/0.914, allocations: 30.79 MB / 0.8852 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.914, allocations: 4 kB / 0.8852 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/0.9431, allocations: 20.16 MB / 0.9049 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009853/0.944, allocations: 0.5041 MB / 0.9054 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/0.9444, allocations: 68 kB / 0.9054 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.9462, allocations: 378 kB / 0.9058 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/0.948, allocations: 0.8114 MB / 0.9066 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.9481, allocations: 95.98 kB / 0.9067 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001575/0.9497, allocations: 2.109 MB / 0.9088 GB, free: 136 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.9497, allocations: 0 / 0.9088 GB, free: 136 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002759/0.9525, allocations: 1.803 MB / 0.9105 GB, free: 134.2 MB / 0.6355 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.02946/0.9819, allocations: 20.82 MB / 0.9308 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01259/0.9945, allocations: 8.826 MB / 0.9395 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9945, allocations: 1.688 kB / 0.9395 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.008569/1.003, allocations: 5.865 MB / 0.9452 GB, free: 98.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.005, allocations: 392.6 kB / 0.9456 GB, free: 98.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07228/1.077, allocations: 58.81 MB / 1.003 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/1.078, allocations: 1.927 MB / 1.005 GB, free: 36.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007492/1.079, allocations: 375.1 kB / 1.005 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.08, allocations: 1.98 MB / 1.007 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.08, allocations: 4 kB / 1.007 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/1.385, allocations: 137.2 MB / 1.141 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.45, allocations: 6.484 kB / 1.141 GB, free: 162.1 MB / 0.6511 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 15.85767713189125] Failed to read output from testmodel.py, exit status != 0: 13.593247031792998 13.600112738 13.379597787 Calling exit ...