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.0008298/0.0008298, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.8725/0.8725, allocations: 177.1 MB / 200.2 MB, free: 5.91 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.0009901/0.0009901, allocations: 168.5 kB / 256.7 MB, free: 13.31 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.2544/0.2544, allocations: 80.37 MB / 393.5 MB, free: 2.359 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: 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5562 GB, free: 11.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.416e-05, allocations: 2.281 kB / 0.5562 GB, free: 11.65 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2302/0.2302, allocations: 11.64 MB / 0.5676 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006086/0.2363, allocations: 3.436 MB / 0.571 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.2375, allocations: 30.16 kB / 0.571 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.2384, allocations: 0.5598 MB / 0.5715 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.2411, allocations: 1.601 MB / 0.5731 GB, free: 14.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.2435, allocations: 1.548 MB / 0.5746 GB, free: 13.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.2467, allocations: 3.737 MB / 0.5783 GB, free: 11.58 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.2473, allocations: 0.5785 MB / 0.5788 GB, free: 11.26 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.2492, allocations: 2.127 MB / 0.5809 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.2506, allocations: 1.561 MB / 0.5824 GB, free: 9.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.251, allocations: 289.2 kB / 0.5827 GB, free: 9.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.2517, allocations: 446.5 kB / 0.5831 GB, free: 9.891 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005828/0.2523, allocations: 0.7724 MB / 0.5839 GB, free: 9.438 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008747/0.2532, allocations: 1.082 MB / 0.5849 GB, free: 8.949 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.2564, allocations: 4.087 MB / 0.5889 GB, free: 7.434 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2564, allocations: 0 / 0.5889 GB, free: 7.434 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2564, allocations: 0 / 0.5889 GB, free: 7.434 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.2565, allocations: 1.25 kB / 0.5889 GB, free: 7.434 MB / 442.7 MB 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.01195/0.2684, allocations: 7.334 MB / 0.5961 GB, free: 3.352 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2685, allocations: 9.281 kB / 0.5961 GB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/0.2759, allocations: 2.334 MB / 0.5984 GB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.2782, allocations: 1.804 MB / 0.6001 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.2786, allocations: 0.8225 MB / 0.6009 GB, free: 284 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.279, allocations: 218.3 kB / 0.6012 GB, free: 208 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/0.2833, allocations: 3.085 MB / 0.6042 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.2833, allocations: 0 / 0.6042 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.2835, allocations: 89.95 kB / 0.6043 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.2835, allocations: 49.69 kB / 0.6043 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.2873, allocations: 2.823 MB / 0.6071 GB, free: 12.9 MB / 458.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.0105/0.2978, allocations: 7.387 MB / 0.6143 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005841/0.3037, allocations: 3.562 MB / 0.6177 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.3063, allocations: 1.836 MB / 0.6195 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.3065, allocations: 33.98 kB / 0.6196 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002752/0.3092, allocations: 2.286 MB / 0.6218 GB, free: 14.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 3.797e-06/0.3092, allocations: 0 / 0.6218 GB, free: 14.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.06701/0.3762, allocations: 29.25 MB / 0.6504 GB, free: 1.059 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3764, allocations: 188.2 kB / 0.6505 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.3793, allocations: 2.25 MB / 0.6527 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/0.3798, allocations: 69.7 kB / 0.6528 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.3804, allocations: 1.202 MB / 0.654 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.3816, allocations: 0.8895 MB / 0.6549 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/0.3823, allocations: 0.5343 MB / 0.6554 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3824, allocations: 313.1 kB / 0.6557 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/0.3849, allocations: 2.035 MB / 0.6577 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/0.3877, allocations: 2.398 MB / 0.66 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02819/0.4159, allocations: 14.27 MB / 0.6739 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.4159, allocations: 0 / 0.6739 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.02161/0.4375, allocations: 12.28 MB / 0.6859 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.4375, allocations: 122.8 kB / 0.686 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4376, allocations: 11.98 kB / 0.6861 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009547/0.4471, allocations: 5.404 MB / 0.6913 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.4489, allocations: 0.5461 MB / 0.6919 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03443/0.4834, allocations: 22.81 MB / 0.7141 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.4871, allocations: 485.9 kB / 0.7146 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.4873, allocations: 116 kB / 0.7147 GB, free: 14.52 MB / 0.5573 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.001286/0.4886, allocations: 0.5218 MB / 0.7152 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.489, allocations: 310 kB / 0.7155 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02073/0.5098, allocations: 11.87 MB / 0.7271 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.5098, allocations: 24 kB / 0.7271 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.5098, allocations: 20 kB / 0.7272 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.5098, allocations: 11.95 kB / 0.7272 GB, free: 1.688 MB / 0.5573 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.02337/0.5332, allocations: 14.21 MB / 0.741 GB, free: 3.438 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5332, allocations: 0 / 0.741 GB, free: 3.438 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.534, allocations: 243.7 kB / 0.7413 GB, free: 3.199 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009084/0.543, allocations: 5.269 MB / 0.7464 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.5433, allocations: 55.98 kB / 0.7465 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03275/0.576, allocations: 24 MB / 0.7699 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.576, allocations: 0 / 0.7699 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/0.6005, allocations: 14.29 MB / 0.7839 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.6016, allocations: 345.5 kB / 0.7842 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.6018, allocations: 44 kB / 0.7842 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.6034, allocations: 303.6 kB / 0.7845 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/0.6049, allocations: 0.6104 MB / 0.7851 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.605, allocations: 67.98 kB / 0.7852 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001504/0.6065, allocations: 1.479 MB / 0.7866 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.6065, allocations: 0 / 0.7866 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002469/0.609, allocations: 1.182 MB / 0.7878 GB, free: 3.105 MB / 0.6198 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.0004178/0.6094, allocations: 185.6 kB / 0.788 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.6197, allocations: 6.524 MB / 0.7943 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6197, allocations: 8.062 kB / 0.7943 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006798/0.6265, allocations: 4.257 MB / 0.7985 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.628, allocations: 267.7 kB / 0.7988 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.6348, allocations: 5.315 MB / 0.8039 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.6356, allocations: 1.256 MB / 0.8052 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.6361, allocations: 184.4 kB / 0.8053 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.6361, allocations: 0 / 0.8053 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of Templates: time 0.2499/0.886, allocations: 65.73 MB / 0.8695 GB, free: 175.2 MB / 0.6355 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: 7.913046785630286] Failed to read output from testmodel.py, exit status != 0: 0.8922265823930502 0.8982738299999999 0.640361622 Calling exit ...