Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001476/0.001476, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.365/1.365, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.00149/0.00149, allocations: 216.2 kB / 310 MB, free: 3.117 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.5743/0.5743, allocations: 107.3 MB / 473.7 MB, free: 29.96 MB / 350.1 MB " [Timeout remaining time 179] 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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [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.002416/0.002416, allocations: 87.22 kB / 0.6345 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1281, allocations: 80.17 MB / 0.7128 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01292/0.141, allocations: 11.64 MB / 0.7242 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007025/0.1481, allocations: 3.441 MB / 0.7275 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.1496, allocations: 32 kB / 0.7276 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.1511, allocations: 0.5615 MB / 0.7281 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.1553, allocations: 1.558 MB / 0.7296 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.1586, allocations: 1.51 MB / 0.7311 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00504/0.1636, allocations: 3.772 MB / 0.7348 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1646, allocations: 0.5776 MB / 0.7353 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.1669, allocations: 1.575 MB / 0.7369 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.1693, allocations: 1.812 MB / 0.7387 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.1698, allocations: 284 kB / 0.7389 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009024/0.1707, allocations: 451.8 kB / 0.7394 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006722/0.1714, allocations: 0.7623 MB / 0.7401 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1727, allocations: 1.328 MB / 0.7414 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.177, allocations: 4.041 MB / 0.7453 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.177, allocations: 7.938 kB / 0.7454 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.177, allocations: 4 kB / 0.7454 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.816e-05/0.177, allocations: 3.938 kB / 0.7454 GB, free: 5.469 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02317/0.2002, allocations: 7.382 MB / 0.7526 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2002, allocations: 12.03 kB / 0.7526 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.2151, allocations: 2.316 MB / 0.7548 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.2191, allocations: 1.805 MB / 0.7566 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008957/0.22, allocations: 0.8295 MB / 0.7574 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006122/0.2206, allocations: 212 kB / 0.7576 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.2273, allocations: 3.085 MB / 0.7606 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.2273, allocations: 0 / 0.7606 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.2276, allocations: 91.92 kB / 0.7607 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.2276, allocations: 48 kB / 0.7608 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006082/0.2337, allocations: 2.822 MB / 0.7635 GB, free: 2.441 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 preOpt removeSimpleEquations (simulation): time 0.01701/0.2507, allocations: 7.388 MB / 0.7707 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.2613, allocations: 3.56 MB / 0.7742 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/0.2652, allocations: 1.83 MB / 0.776 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.2654, allocations: 37.97 kB / 0.776 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004647/0.2701, allocations: 2.296 MB / 0.7783 GB, free: 3.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 5.059e-06/0.2701, allocations: 0 / 0.7783 GB, free: 3.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=247): time 0.1265/0.3966, allocations: 29.25 MB / 0.8068 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.3967, allocations: 184.2 kB / 0.807 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.4006, allocations: 2.244 MB / 0.8092 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005845/0.4012, allocations: 73.69 kB / 0.8093 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.4023, allocations: 1.197 MB / 0.8104 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.4037, allocations: 0.9102 MB / 0.8113 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.4053, allocations: 0.5382 MB / 0.8119 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4054, allocations: 301.1 kB / 0.8122 GB, free: 228 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3029/0.7083, allocations: 2.036 MB / 0.8141 GB, free: 86.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004987/0.7133, allocations: 2.403 MB / 0.8165 GB, free: 86.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05504/0.7683, allocations: 14.26 MB / 0.8304 GB, free: 82.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/0.7683, allocations: 2.094 kB / 0.8304 GB, free: 82.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.03778/0.8061, allocations: 12.28 MB / 0.8424 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.8062, allocations: 118.5 kB / 0.8425 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.8062, allocations: 3.969 kB / 0.8425 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/0.8223, allocations: 5.419 MB / 0.8478 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.825, allocations: 0.5472 MB / 0.8484 GB, free: 75.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05189/0.8769, allocations: 22.8 MB / 0.8706 GB, free: 52.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/0.8809, allocations: 485.9 kB / 0.8711 GB, free: 52.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.8812, allocations: 116 kB / 0.8712 GB, free: 52.34 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009944/0.8822, allocations: 0.5269 MB / 0.8717 GB, free: 51.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.8826, allocations: 306 kB / 0.872 GB, free: 51.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03565/0.9183, allocations: 11.87 MB / 0.8836 GB, free: 39.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.9183, allocations: 24 kB / 0.8836 GB, free: 39.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.599e-05/0.9183, allocations: 16 kB / 0.8836 GB, free: 39.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/0.9184, allocations: 19.89 kB / 0.8836 GB, free: 39.5 MB / 0.5762 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.03885/0.9572, allocations: 14.21 MB / 0.8975 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.9572, allocations: 4 kB / 0.8975 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9586, allocations: 243.6 kB / 0.8978 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/0.9742, allocations: 5.273 MB / 0.9029 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004734/0.9746, allocations: 47.98 kB / 0.903 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05157/1.026, allocations: 24.01 MB / 0.9264 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.026, allocations: 3.938 kB / 0.9264 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0464/1.073, allocations: 14.3 MB / 0.9404 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009349/1.074, allocations: 336.4 kB / 0.9407 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/1.074, allocations: 51.12 kB / 0.9407 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.077, allocations: 299.6 kB / 0.941 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002005/1.079, allocations: 0.6073 MB / 0.9416 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.079, allocations: 63.98 kB / 0.9417 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002342/1.081, allocations: 1.483 MB / 0.9431 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 0.9431 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00307/1.084, allocations: 1.173 MB / 0.9443 GB, free: 9.082 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004113/1.085, allocations: 182.5 kB / 0.9444 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.103, allocations: 6.551 MB / 0.9508 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.103, allocations: 4.062 kB / 0.9508 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01317/1.117, allocations: 4.275 MB / 0.955 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.119, allocations: 267.2 kB / 0.9553 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/1.128, allocations: 5.499 MB / 0.9606 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.13, allocations: 1.256 MB / 0.9619 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/1.13, allocations: 187.4 kB / 0.9621 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/1.13, allocations: 0 / 0.9621 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of Templates: time 0.08433/1.215, allocations: 65.7 MB / 1.026 GB, free: 4.875 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.416314082220197] Failed to read output from testmodel.py, exit status != 0: 1.2230461370199919 1.237556845 1.057625601 Calling exit ...