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.0008077/0.0008077, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.972/0.972, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.001464/0.001464, allocations: 171.5 kB / 256.9 MB, free: 12.8 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.2727/0.2727, allocations: 80.25 MB / 393.7 MB, free: 3.027 MB / 362.7 MB " [Timeout remaining time 179] 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.663e-06/1.663e-06, allocations: 0 / 490.4 MB, free: 62.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.422e-05, allocations: 4.281 kB / 490.4 MB, free: 62.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01074/0.01077, allocations: 20.03 MB / 0.4984 GB, free: 42.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009693/0.02046, allocations: 4.899 MB / 0.5032 GB, free: 37.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.024, allocations: 47.94 kB / 0.5033 GB, free: 37.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.02589, allocations: 0.8827 MB / 0.5041 GB, free: 36.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.03156, allocations: 2.409 MB / 0.5065 GB, free: 34.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.03505, allocations: 2.059 MB / 0.5085 GB, free: 32.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005758/0.04081, allocations: 5.922 MB / 0.5143 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.04213, allocations: 0.861 MB / 0.5151 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.04654, allocations: 3.374 MB / 0.5184 GB, free: 22.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.04877, allocations: 2.325 MB / 0.5207 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008629/0.04963, allocations: 445.1 kB / 0.5211 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.05076, allocations: 0.5974 MB / 0.5217 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005734/0.05133, allocations: 1.186 MB / 0.5228 GB, free: 17.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.05281, allocations: 1.745 MB / 0.5245 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.05696, allocations: 4.524 MB / 0.529 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.05696, allocations: 1.25 kB / 0.529 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.05696, allocations: 0 / 0.529 GB, free: 11.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.05708, allocations: 3.938 kB / 0.529 GB, free: 11.35 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.0155/0.07258, allocations: 10.31 MB / 0.539 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.07262, allocations: 12.03 kB / 0.539 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.08634, allocations: 4.796 MB / 0.5437 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.09082, allocations: 2.508 MB / 0.5462 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006456/0.09147, allocations: 1.017 MB / 0.5472 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007119/0.09218, allocations: 355.9 kB / 0.5475 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.09603, allocations: 2.808 MB / 0.5502 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.09607, allocations: 3.984 kB / 0.5503 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.09632, allocations: 143.9 kB / 0.5504 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.09636, allocations: 87.94 kB / 0.5505 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.0988, allocations: 1.599 MB / 0.552 GB, free: 3.328 MB / 426.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.01689/0.1157, allocations: 11.76 MB / 0.5635 GB, free: 7.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.1193, allocations: 2.302 MB / 0.5658 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.1205, allocations: 0.982 MB / 0.5667 GB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.1208, allocations: 98.95 kB / 0.5668 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.1224, allocations: 1.643 MB / 0.5684 GB, free: 2.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=384): time 6.643e-06/0.1224, allocations: 0 / 0.5684 GB, free: 2.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=384): time 0.3088/0.4312, allocations: 55.07 MB / 0.6222 GB, free: 133.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.4312, allocations: 144.4 kB / 0.6223 GB, free: 133.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.4335, allocations: 2.893 MB / 0.6252 GB, free: 133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006153/0.4341, allocations: 94.02 kB / 0.6253 GB, free: 132.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008953/0.435, allocations: 2.137 MB / 0.6273 GB, free: 132.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.436, allocations: 1.393 MB / 0.6287 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008747/0.4369, allocations: 0.7186 MB / 0.6294 GB, free: 132.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.4369, allocations: 480.7 kB / 0.6299 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.4388, allocations: 1.018 MB / 0.6309 GB, free: 131.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4404, allocations: 1.868 MB / 0.6327 GB, free: 130.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.445, allocations: 4.559 MB / 0.6371 GB, free: 129.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.445, allocations: 3.656 kB / 0.6371 GB, free: 129.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01941/0.4644, allocations: 11.31 MB / 0.6482 GB, free: 121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.4645, allocations: 71.34 kB / 0.6483 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.4645, allocations: 12 kB / 0.6483 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01789/0.4824, allocations: 7.333 MB / 0.6554 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.4845, allocations: 0.6806 MB / 0.6561 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.5069, allocations: 13.12 MB / 0.6689 GB, free: 99.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/0.5102, allocations: 0.5388 MB / 0.6694 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5105, allocations: 120 kB / 0.6696 GB, free: 99.09 MB / 490.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.001118/0.5116, allocations: 405.5 kB / 0.6699 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/0.5124, allocations: 0.5874 MB / 0.6705 GB, free: 98.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/0.5304, allocations: 10.67 MB / 0.6809 GB, free: 87.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5304, allocations: 36 kB / 0.681 GB, free: 87.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/0.5305, allocations: 28 kB / 0.681 GB, free: 87.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.104e-05/0.5305, allocations: 19.94 kB / 0.681 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/0.5528, allocations: 13.36 MB / 0.6941 GB, free: 73.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.5528, allocations: 0 / 0.6941 GB, free: 73.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.5542, allocations: 395.5 kB / 0.6944 GB, free: 73.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/0.572, allocations: 7.552 MB / 0.7018 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007329/0.5727, allocations: 75.98 kB / 0.7019 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/0.5949, allocations: 14.55 MB / 0.7161 GB, free: 51.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5949, allocations: 2.938 kB / 0.7161 GB, free: 51.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02066/0.6155, allocations: 11.68 MB / 0.7275 GB, free: 39.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.6167, allocations: 0.5 MB / 0.728 GB, free: 38.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/0.6171, allocations: 64 kB / 0.7281 GB, free: 38.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.6188, allocations: 287.7 kB / 0.7283 GB, free: 38.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/0.6205, allocations: 0.7839 MB / 0.7291 GB, free: 37.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.6207, allocations: 67.98 kB / 0.7292 GB, free: 37.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.6218, allocations: 1.624 MB / 0.7307 GB, free: 36.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6218, allocations: 0 / 0.7307 GB, free: 36.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00327/0.6251, allocations: 1.809 MB / 0.7325 GB, free: 34.28 MB / 490.7 MB 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.0003976/0.6255, allocations: 202.2 kB / 0.7327 GB, free: 34.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008449/0.6339, allocations: 5.651 MB / 0.7382 GB, free: 28.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6339, allocations: 0 / 0.7382 GB, free: 28.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006528/0.6404, allocations: 4.307 MB / 0.7424 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6424, allocations: 451.5 kB / 0.7429 GB, free: 23.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008957/0.6514, allocations: 7.412 MB / 0.7501 GB, free: 16.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.6519, allocations: 0.8024 MB / 0.7509 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.6527, allocations: 375.1 kB / 0.7512 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/0.6535, allocations: 0.5021 MB / 0.7517 GB, free: 14.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6535, allocations: 0 / 0.7517 GB, free: 14.38 MB / 490.7 MB Notification: Performance of Templates: time 0.2747/0.9281, allocations: 105.4 MB / 0.8547 GB, free: 145.2 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.072931503877044]