Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001048/0.001048, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.9487/0.9487, allocations: 177.1 MB / 200 MB, free: 5.551 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.001218/0.001218, allocations: 156.6 kB / 256.6 MB, free: 13.01 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.2783/0.2783, allocations: 80.24 MB / 393.4 MB, free: 2.172 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 489.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.463e-05, allocations: 2.312 kB / 489.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01931/0.01934, allocations: 20.62 MB / 0.4986 GB, free: 6.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.03032, allocations: 4.915 MB / 0.5034 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.03292, allocations: 44 kB / 0.5034 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.03454, allocations: 0.8796 MB / 0.5043 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.03941, allocations: 2.373 MB / 0.5066 GB, free: 14.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.04294, allocations: 2.049 MB / 0.5086 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.04855, allocations: 5.913 MB / 0.5144 GB, free: 6.223 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.04957, allocations: 0.8766 MB / 0.5152 GB, free: 5.293 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.05229, allocations: 3.343 MB / 0.5185 GB, free: 1.941 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.05409, allocations: 2.325 MB / 0.5208 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.05451, allocations: 444 kB / 0.5212 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007776/0.05528, allocations: 0.5935 MB / 0.5218 GB, free: 14.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.0559, allocations: 1.194 MB / 0.5229 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.05701, allocations: 1.74 MB / 0.5246 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.06035, allocations: 4.52 MB / 0.529 GB, free: 7.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.06035, allocations: 0 / 0.529 GB, free: 7.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.06035, allocations: 4 kB / 0.529 GB, free: 7.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.06038, allocations: 4 kB / 0.529 GB, free: 7.09 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01501/0.07539, allocations: 10.2 MB / 0.539 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.07545, allocations: 12.03 kB / 0.539 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.08909, allocations: 4.792 MB / 0.5437 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.0922, allocations: 2.578 MB / 0.5462 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005362/0.09273, allocations: 1.017 MB / 0.5472 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/0.09322, allocations: 355.9 kB / 0.5475 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.09729, allocations: 3.148 MB / 0.5506 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.09734, allocations: 0 / 0.5506 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.09761, allocations: 140 kB / 0.5508 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.09766, allocations: 91.92 kB / 0.5508 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.1009, allocations: 2.033 MB / 0.5528 GB, free: 14.33 MB / 442.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.01563/0.1165, allocations: 12.28 MB / 0.5648 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1829/0.2994, allocations: 2.565 MB / 0.5673 GB, free: 83.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.3023, allocations: 1.221 MB / 0.5685 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.3026, allocations: 86.17 kB / 0.5686 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/0.3055, allocations: 1.85 MB / 0.5704 GB, free: 83.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=384): time 1.165e-05/0.3055, allocations: 0 / 0.5704 GB, free: 83.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=384): time 0.1348/0.4403, allocations: 55.87 MB / 0.625 GB, free: 43.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4404, allocations: 145.8 kB / 0.6251 GB, free: 43.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.4431, allocations: 3.019 MB / 0.6281 GB, free: 40.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.4434, allocations: 88.7 kB / 0.6281 GB, free: 40.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009011/0.4443, allocations: 2.08 MB / 0.6302 GB, free: 39.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000887/0.4452, allocations: 1.379 MB / 0.6315 GB, free: 38.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.446, allocations: 0.7001 MB / 0.6322 GB, free: 38.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.4461, allocations: 476.8 kB / 0.6327 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.4477, allocations: 1.148 MB / 0.6338 GB, free: 36.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.4496, allocations: 1.974 MB / 0.6357 GB, free: 34.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/0.4551, allocations: 4.915 MB / 0.6405 GB, free: 28.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.4551, allocations: 4 kB / 0.6405 GB, free: 28.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02143/0.4766, allocations: 11.69 MB / 0.6519 GB, free: 17.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.4766, allocations: 68.12 kB / 0.652 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.4766, allocations: 19.94 kB / 0.652 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/0.4956, allocations: 7.437 MB / 0.6593 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.4976, allocations: 0.6826 MB / 0.6599 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0263/0.5239, allocations: 13.66 MB / 0.6733 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/0.527, allocations: 0.5352 MB / 0.6738 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.5272, allocations: 159.1 kB / 0.674 GB, free: 10.55 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (402): * Single equations (assignments): 399 * 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.001064/0.5283, allocations: 421.1 kB / 0.6744 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/0.529, allocations: 0.583 MB / 0.6749 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/0.5516, allocations: 11.24 MB / 0.6859 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/0.5517, allocations: 40 kB / 0.6859 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/0.5517, allocations: 28 kB / 0.686 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/0.5518, allocations: 19.92 kB / 0.686 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/0.5786, allocations: 14.42 MB / 0.7001 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.5786, allocations: 0 / 0.7001 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5797, allocations: 395.5 kB / 0.7004 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01999/0.5997, allocations: 7.66 MB / 0.7079 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/0.6001, allocations: 67.98 kB / 0.708 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02661/0.6267, allocations: 15 MB / 0.7226 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6267, allocations: 0 / 0.7226 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02487/0.6515, allocations: 12.53 MB / 0.7349 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6526, allocations: 0.5066 MB / 0.7354 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.653, allocations: 67.98 kB / 0.7354 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.6548, allocations: 287.7 kB / 0.7357 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001707/0.6565, allocations: 0.7762 MB / 0.7365 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.6567, allocations: 95.97 kB / 0.7366 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001619/0.6583, allocations: 1.789 MB / 0.7383 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.6583, allocations: 4 kB / 0.7383 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003555/0.6619, allocations: 1.809 MB / 0.7401 GB, free: 6.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.0004211/0.6623, allocations: 207 kB / 0.7403 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.6725, allocations: 5.986 MB / 0.7461 GB, free: 292 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6725, allocations: 0 / 0.7461 GB, free: 292 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007799/0.6803, allocations: 4.531 MB / 0.7505 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.682, allocations: 457.4 kB / 0.751 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.6908, allocations: 7.424 MB / 0.7582 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6914, allocations: 0.8064 MB / 0.759 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006921/0.6921, allocations: 371.1 kB / 0.7594 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.6926, allocations: 264.4 kB / 0.7596 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/0.6926, allocations: 0 / 0.7596 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of Templates: time 0.2261/0.9188, allocations: 102.5 MB / 0.8598 GB, free: 92.37 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.357744464185089]