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.0008865/0.0008865, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.8763/0.8763, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001109/0.001109, allocations: 155.5 kB / 257 MB, free: 12.81 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.3974/0.3974, allocations: 83.31 MB / 343.6 MB, free: 6.637 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.353e-06/1.353e-06, allocations: 0 / 388 MB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.352e-05, allocations: 2.312 kB / 388 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008339/0.008353, allocations: 12.46 MB / 400.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.0147, allocations: 3.663 MB / 404.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/0.0156, allocations: 31.94 kB / 404.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.01643, allocations: 0.5887 MB / 404.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.01864, allocations: 1.621 MB / 406.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.02053, allocations: 1.525 MB / 407.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.023, allocations: 3.733 MB / 411.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.02358, allocations: 0.6245 MB / 412.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.02503, allocations: 2.146 MB / 414.4 MB, free: 104 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.02639, allocations: 1.581 MB / 416 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.02665, allocations: 284 kB / 416.2 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.02714, allocations: 443.8 kB / 416.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.02754, allocations: 0.7855 MB / 417.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.02817, allocations: 1.074 MB / 418.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.02997, allocations: 2.89 MB / 421.4 MB, free: 9.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02998, allocations: 0 / 421.4 MB, free: 9.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.02998, allocations: 4 kB / 421.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.02999, allocations: 0 / 421.4 MB, free: 9.031 MB / 394.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.00967/0.03966, allocations: 6.629 MB / 428 MB, free: 2.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.03969, allocations: 8.031 kB / 428.1 MB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/0.04717, allocations: 2.91 MB / 431 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.04859, allocations: 1.205 MB / 432.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.04896, allocations: 0.8139 MB / 433 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.04921, allocations: 219.9 kB / 433.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.05101, allocations: 1.833 MB / 435 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.05104, allocations: 4 kB / 435 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.05118, allocations: 80 kB / 435.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.05121, allocations: 52 kB / 435.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.05242, allocations: 0.8918 MB / 436.1 MB, free: 9.961 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.006921/0.05934, allocations: 4.962 MB / 441 MB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.06212, allocations: 1.828 MB / 442.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.06277, allocations: 0.6346 MB / 443.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.06295, allocations: 49.98 kB / 443.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.06415, allocations: 1.173 MB / 444.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 3.216e-06/0.06415, allocations: 0 / 444.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.2058/0.2699, allocations: 21.03 MB / 465.7 MB, free: 51.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.27, allocations: 185.1 kB / 465.9 MB, free: 50.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.2711, allocations: 1.822 MB / 467.7 MB, free: 49.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.2712, allocations: 71.39 kB / 467.8 MB, free: 49.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.2715, allocations: 0.8024 MB / 468.6 MB, free: 49.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.272, allocations: 0.9128 MB / 469.5 MB, free: 48.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/0.2725, allocations: 0.5556 MB / 470.1 MB, free: 48.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.2725, allocations: 305.1 kB / 470.4 MB, free: 47.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.2736, allocations: 0.8174 MB / 471.2 MB, free: 47.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.2747, allocations: 1.171 MB / 472.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.2779, allocations: 3.345 MB / 475.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.2779, allocations: 0 / 475.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01198/0.2899, allocations: 7.612 MB / 483.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.2899, allocations: 112.9 kB / 483.4 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2899, allocations: 8 kB / 483.4 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.301, allocations: 5.105 MB / 488.5 MB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3023, allocations: 0.5532 MB / 489.1 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.315, allocations: 8.012 MB / 497.1 MB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.3168, allocations: 408 kB / 497.5 MB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3169, allocations: 87.95 kB / 497.6 MB, free: 21.96 MB / 410.7 MB 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 (319): * Single equations (assignments): 314 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005986/0.3175, allocations: 330 kB / 497.9 MB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.3178, allocations: 251.8 kB / 498.2 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.3291, allocations: 7.012 MB / 0.4933 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3291, allocations: 28 kB / 0.4934 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.3291, allocations: 17.44 kB / 0.4934 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.3291, allocations: 15.95 kB / 0.4934 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.3421, allocations: 8.427 MB / 0.5016 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3422, allocations: 3.984 kB / 0.5016 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.3428, allocations: 243.7 kB / 0.5019 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/0.3536, allocations: 5.175 MB / 0.5069 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.3537, allocations: 47.98 kB / 0.507 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.3683, allocations: 10.5 MB / 0.5172 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3683, allocations: 2.812 kB / 0.5172 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.3821, allocations: 7.687 MB / 0.5247 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.3826, allocations: 283.8 kB / 0.525 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.3829, allocations: 47.94 kB / 0.525 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3839, allocations: 217 kB / 0.5252 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009846/0.3849, allocations: 0.5721 MB / 0.5258 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.385, allocations: 47.98 kB / 0.5258 GB, free: 12.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007316/0.3857, allocations: 0.969 MB / 0.5268 GB, free: 11.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3857, allocations: 0 / 0.5268 GB, free: 11.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002246/0.388, allocations: 1.173 MB / 0.5279 GB, free: 10.49 MB / 442.7 MB 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.0003079/0.3883, allocations: 158.7 kB / 0.5281 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00567/0.394, allocations: 3.976 MB / 0.532 GB, free: 6.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/0.394, allocations: 25.09 kB / 0.532 GB, free: 6.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004212/0.3982, allocations: 2.871 MB / 0.5348 GB, free: 3.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.3991, allocations: 312.8 kB / 0.5351 GB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.4057, allocations: 4.805 MB / 0.5398 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.4062, allocations: 0.5366 MB / 0.5403 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006656/0.4069, allocations: 250.3 kB / 0.5406 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.4076, allocations: 359.3 kB / 0.5409 GB, free: 12.97 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4076, allocations: 0 / 0.5409 GB, free: 12.97 MB / 458.7 MB Notification: Performance of Templates: time 0.08135/0.489, allocations: 71.48 MB / 0.6107 GB, free: 6 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.435150646138936]