Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001406/0.001406, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.8895/0.8895, allocations: 177.2 MB / 201 MB, free: 5.703 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.001189/0.001189, allocations: 160.6 kB / 257.7 MB, free: 12.98 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.2818/0.2818, allocations: 83.28 MB / 397.5 MB, free: 80 kB / 362.7 MB " [Timeout remaining time 179] 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 495.2 MB, free: 58.49 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.404e-05, allocations: 4.562 kB / 495.2 MB, free: 58.49 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.009714/0.009738, allocations: 19.94 MB / 0.5031 GB, free: 38.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008513/0.01825, allocations: 4.874 MB / 0.5079 GB, free: 33.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.02142, allocations: 49.66 kB / 0.5079 GB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.02378, allocations: 0.8749 MB / 0.5088 GB, free: 32.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.02931, allocations: 2.393 MB / 0.5111 GB, free: 30.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.0329, allocations: 2.054 MB / 0.5131 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006689/0.03959, allocations: 5.873 MB / 0.5188 GB, free: 22.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.04158, allocations: 0.8688 MB / 0.5197 GB, free: 21.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00545/0.04703, allocations: 3.336 MB / 0.5229 GB, free: 18.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.04984, allocations: 2.294 MB / 0.5252 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.0511, allocations: 436 kB / 0.5256 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.05273, allocations: 0.6023 MB / 0.5262 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008967/0.05363, allocations: 1.17 MB / 0.5273 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.0556, allocations: 1.729 MB / 0.529 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004522/0.06012, allocations: 4.483 MB / 0.5334 GB, free: 7.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.06013, allocations: 4 kB / 0.5334 GB, free: 7.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.06013, allocations: 0 / 0.5334 GB, free: 7.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.06032, allocations: 3.938 kB / 0.5334 GB, free: 7.414 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.01518/0.07551, allocations: 10.23 MB / 0.5434 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.07555, allocations: 15.97 kB / 0.5434 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.08945, allocations: 4.796 MB / 0.5481 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.0932, allocations: 2.488 MB / 0.5505 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006377/0.09383, allocations: 1.013 MB / 0.5515 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007929/0.09463, allocations: 352 kB / 0.5519 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/0.09852, allocations: 2.804 MB / 0.5546 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.09857, allocations: 3.938 kB / 0.5546 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.09883, allocations: 144 kB / 0.5547 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.09888, allocations: 87.94 kB / 0.5548 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.1011, allocations: 1.595 MB / 0.5564 GB, free: 15.48 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.01816/0.1193, allocations: 11.73 MB / 0.5678 GB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.1232, allocations: 2.313 MB / 0.5701 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.1247, allocations: 0.9885 MB / 0.5711 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/0.125, allocations: 82.95 kB / 0.5711 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.1269, allocations: 1.636 MB / 0.5727 GB, free: 14.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=383): time 7.003e-06/0.1269, allocations: 0 / 0.5727 GB, free: 14.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=383): time 0.2876/0.4145, allocations: 55.33 MB / 0.6268 GB, free: 131.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.4146, allocations: 147.7 kB / 0.6269 GB, free: 131.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.417, allocations: 2.874 MB / 0.6297 GB, free: 131.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006982/0.4177, allocations: 91.61 kB / 0.6298 GB, free: 131.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009162/0.4187, allocations: 2.135 MB / 0.6319 GB, free: 131.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.4199, allocations: 1.385 MB / 0.6332 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.4208, allocations: 0.7171 MB / 0.6339 GB, free: 130.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.4208, allocations: 476.8 kB / 0.6344 GB, free: 129.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4222, allocations: 1.011 MB / 0.6354 GB, free: 129.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4239, allocations: 1.865 MB / 0.6372 GB, free: 128.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.4287, allocations: 4.537 MB / 0.6416 GB, free: 125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.4288, allocations: 4 kB / 0.6416 GB, free: 125 MB / 490.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02034/0.4491, allocations: 11.29 MB / 0.6527 GB, free: 113.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.4492, allocations: 67.39 kB / 0.6527 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.4492, allocations: 16 kB / 0.6527 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01866/0.4678, allocations: 7.331 MB / 0.6599 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.4698, allocations: 0.667 MB / 0.6605 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02441/0.4942, allocations: 13.1 MB / 0.6733 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.4974, allocations: 0.5326 MB / 0.6739 GB, free: 91.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/0.4978, allocations: 123.3 kB / 0.674 GB, free: 91.81 MB / 490.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.001177/0.499, allocations: 410.7 kB / 0.6744 GB, free: 91.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/0.4999, allocations: 0.5791 MB / 0.6749 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/0.5186, allocations: 10.66 MB / 0.6853 GB, free: 80.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.5186, allocations: 36 kB / 0.6854 GB, free: 80.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.5186, allocations: 28 kB / 0.6854 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/0.5187, allocations: 23.92 kB / 0.6854 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/0.5419, allocations: 13.34 MB / 0.6985 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.5419, allocations: 0 / 0.6985 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.5432, allocations: 391.5 kB / 0.6988 GB, free: 66.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01878/0.562, allocations: 7.519 MB / 0.7062 GB, free: 58.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007276/0.5627, allocations: 79.97 kB / 0.7063 GB, free: 58.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02187/0.5846, allocations: 14.54 MB / 0.7205 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5846, allocations: 0 / 0.7205 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/0.6058, allocations: 11.66 MB / 0.7318 GB, free: 32.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/0.6068, allocations: 0.5102 MB / 0.7323 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008096/0.6076, allocations: 68 kB / 0.7324 GB, free: 31.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/0.6097, allocations: 279.7 kB / 0.7327 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/0.6113, allocations: 0.7723 MB / 0.7334 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/0.6115, allocations: 67.98 kB / 0.7335 GB, free: 30.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.6126, allocations: 1.608 MB / 0.7351 GB, free: 28.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6126, allocations: 4 kB / 0.7351 GB, free: 28.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003941/0.6165, allocations: 1.797 MB / 0.7368 GB, free: 27.12 MB / 490.7 MB 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.0005767/0.6171, allocations: 197.8 kB / 0.737 GB, free: 26.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008711/0.6258, allocations: 5.634 MB / 0.7425 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6258, allocations: 0 / 0.7425 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006786/0.6326, allocations: 4.278 MB / 0.7467 GB, free: 16.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.6344, allocations: 459.2 kB / 0.7471 GB, free: 16.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.6423, allocations: 7.332 MB / 0.7543 GB, free: 9.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.6428, allocations: 0.8059 MB / 0.7551 GB, free: 8.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008742/0.6437, allocations: 363.1 kB / 0.7554 GB, free: 7.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.6444, allocations: 0.5021 MB / 0.7559 GB, free: 7.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/0.6444, allocations: 0 / 0.7559 GB, free: 7.34 MB / 490.7 MB Notification: Performance of Templates: time 0.2344/0.8789, allocations: 108.2 MB / 0.8616 GB, free: 165.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.221540281083435]