Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.000892/0.000892, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.9874/0.9874, allocations: 177.2 MB / 200.3 MB, free: 5.395 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.001169/0.001169, allocations: 171.3 kB / 257 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3992/0.3992, allocations: 80.24 MB / 340.5 MB, free: 9.547 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 383.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.322e-05, allocations: 6.25 kB / 383.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0131/0.01312, allocations: 19.94 MB / 403.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.02492, allocations: 5.154 MB / 409 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.02897, allocations: 48 kB / 409.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.03083, allocations: 0.91 MB / 410 MB, free: 4.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.03674, allocations: 2.412 MB / 412.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.04098, allocations: 2.044 MB / 414.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007696/0.04868, allocations: 5.862 MB / 420.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.04987, allocations: 0.9118 MB / 421.2 MB, free: 9.047 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.05338, allocations: 3.339 MB / 424.6 MB, free: 5.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.05526, allocations: 2.305 MB / 426.9 MB, free: 3.387 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005795/0.05584, allocations: 440 kB / 427.3 MB, free: 2.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.0567, allocations: 0.5896 MB / 427.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.05734, allocations: 1.178 MB / 429.1 MB, free: 1.184 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.05864, allocations: 1.725 MB / 430.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.06246, allocations: 4.493 MB / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.06247, allocations: 0 / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06247, allocations: 0 / 435.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.198e-05/0.06253, allocations: 3.984 kB / 435.3 MB, free: 10.94 MB / 410.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.01338/0.07591, allocations: 9.299 MB / 444.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.07595, allocations: 12.03 kB / 444.6 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2241/0.3, allocations: 5.12 MB / 449.7 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/0.3043, allocations: 1.78 MB / 451.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/0.3048, allocations: 1.017 MB / 452.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/0.3054, allocations: 352.4 kB / 452.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.3086, allocations: 2.878 MB / 455.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.3087, allocations: 3.938 kB / 455.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.3089, allocations: 137.5 kB / 455.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.3089, allocations: 83.78 kB / 455.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3108, allocations: 1.355 MB / 457.3 MB, free: 40.41 MB / 410.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.01327/0.3241, allocations: 9.483 MB / 466.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3272, allocations: 2.124 MB / 468.9 MB, free: 37.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.3281, allocations: 0.8215 MB / 469.7 MB, free: 36.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.3284, allocations: 85.2 kB / 469.8 MB, free: 36.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.3298, allocations: 1.644 MB / 471.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=383): time 5.18e-06/0.3298, allocations: 0 / 471.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=383): time 0.1141/0.4439, allocations: 54.34 MB / 0.5135 GB, free: 13.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.444, allocations: 146.8 kB / 0.5136 GB, free: 13.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.4465, allocations: 2.705 MB / 0.5163 GB, free: 10.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004326/0.4469, allocations: 89.2 kB / 0.5163 GB, free: 10.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.4476, allocations: 1.32 MB / 0.5176 GB, free: 9.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.4486, allocations: 1.384 MB / 0.519 GB, free: 8.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008081/0.4494, allocations: 0.6679 MB / 0.5196 GB, free: 8.602 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.4495, allocations: 309.1 kB / 0.5199 GB, free: 8.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.451, allocations: 0.9405 MB / 0.5208 GB, free: 7.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.4527, allocations: 1.559 MB / 0.5224 GB, free: 5.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/0.4576, allocations: 4.273 MB / 0.5265 GB, free: 1.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.4576, allocations: 4 kB / 0.5265 GB, free: 1.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01915/0.4768, allocations: 10.41 MB / 0.5367 GB, free: 8.012 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.4769, allocations: 71.41 kB / 0.5368 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.4769, allocations: 16.56 kB / 0.5368 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01782/0.4947, allocations: 7.234 MB / 0.5439 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.4968, allocations: 0.6612 MB / 0.5445 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.5172, allocations: 11.44 MB / 0.5557 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.5205, allocations: 0.5324 MB / 0.5562 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.5207, allocations: 117.4 kB / 0.5563 GB, free: 4.188 MB / 474.7 MB 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 (398): * Single equations (assignments): 395 * 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.001048/0.5217, allocations: 369.8 kB / 0.5567 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/0.5223, allocations: 395.6 kB / 0.557 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/0.54, allocations: 9.985 MB / 0.5668 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.5401, allocations: 36 kB / 0.5668 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.5401, allocations: 28 kB / 0.5669 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/0.5401, allocations: 23.92 kB / 0.5669 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/0.5619, allocations: 11.86 MB / 0.5785 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5619, allocations: 4.781 kB / 0.5785 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.563, allocations: 383.2 kB / 0.5788 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01765/0.5807, allocations: 7.433 MB / 0.5861 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/0.5811, allocations: 63.98 kB / 0.5861 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/0.6016, allocations: 12.35 MB / 0.5982 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6016, allocations: 4 kB / 0.5982 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02136/0.623, allocations: 10.82 MB / 0.6088 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.6242, allocations: 438 kB / 0.6092 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.6245, allocations: 64 kB / 0.6093 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.6261, allocations: 287.7 kB / 0.6095 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/0.6278, allocations: 0.7722 MB / 0.6103 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.628, allocations: 67.98 kB / 0.6103 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00112/0.6291, allocations: 1.457 MB / 0.6118 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6291, allocations: 0 / 0.6118 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003604/0.6327, allocations: 1.807 MB / 0.6135 GB, free: 10.55 MB / 0.5261 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.0003961/0.6331, allocations: 188.3 kB / 0.6137 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009234/0.6424, allocations: 5.238 MB / 0.6188 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-05/0.6424, allocations: 41.81 kB / 0.6189 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006914/0.6493, allocations: 3.943 MB / 0.6227 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.6516, allocations: 450.6 kB / 0.6231 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6617, allocations: 7.305 MB / 0.6303 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.6624, allocations: 0.8007 MB / 0.6311 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000795/0.6632, allocations: 373.7 kB / 0.6314 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007705/0.6639, allocations: 479.3 kB / 0.6319 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of SimCode: time 1.884e-06/0.6639, allocations: 0 / 0.6319 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of Templates: time 0.275/0.9389, allocations: 98.9 MB / 0.7285 GB, free: 120.9 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.560709704179317]