Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001437/0.001437, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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 1.397/1.397, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [Timeout remaining time 178] 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.001494/0.001494, allocations: 164.9 kB / 256 MB, free: 4.328 MB / 238.1 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.5571/0.5571, allocations: 80.36 MB / 392.7 MB, free: 29.67 MB / 334.1 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5555 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.895e-05/4.068e-05, allocations: 14.45 kB / 0.5555 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007066/0.007107, allocations: 5.934 MB / 0.5613 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005361/0.01247, allocations: 1.983 MB / 0.5632 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.01385, allocations: 9.406 kB / 0.5632 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.01473, allocations: 242.5 kB / 0.5634 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.01731, allocations: 0.8974 MB / 0.5643 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.0188, allocations: 0.6465 MB / 0.565 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002062/0.02086, allocations: 1.675 MB / 0.5666 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.0213, allocations: 217 kB / 0.5668 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.0225, allocations: 0.9503 MB / 0.5677 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.02331, allocations: 0.7126 MB / 0.5684 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.02352, allocations: 132.4 kB / 0.5685 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006967/0.02422, allocations: 283.2 kB / 0.5688 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.02447, allocations: 349 kB / 0.5691 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.02494, allocations: 487.9 kB / 0.5696 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.0267, allocations: 1.815 MB / 0.5714 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.0267, allocations: 1.062 kB / 0.5714 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0267, allocations: 0 / 0.5714 GB, free: 3.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.02672, allocations: 0 / 0.5714 GB, free: 3.285 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009447/0.03617, allocations: 2.898 MB / 0.5742 GB, free: 1.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.03622, allocations: 9.188 kB / 0.5742 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/0.0415, allocations: 0.7968 MB / 0.575 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.04308, allocations: 0.8686 MB / 0.5758 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.04336, allocations: 334.8 kB / 0.5762 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.04354, allocations: 86.58 kB / 0.5763 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.046, allocations: 1.13 MB / 0.5774 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.04603, allocations: 1.156 kB / 0.5774 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.04614, allocations: 30.22 kB / 0.5774 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.04616, allocations: 21.91 kB / 0.5774 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.04848, allocations: 1.027 MB / 0.5784 GB, free: 14.54 MB / 446.1 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.007002/0.05548, allocations: 2.93 MB / 0.5813 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007911/0.06339, allocations: 2.054 MB / 0.5833 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.06503, allocations: 0.6583 MB / 0.5839 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.06514, allocations: 16.98 kB / 0.5839 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.067, allocations: 0.8701 MB / 0.5848 GB, free: 7.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=98): time 6.482e-06/0.067, allocations: 3.984 kB / 0.5848 GB, free: 7.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=98): time 0.03116/0.09816, allocations: 6.955 MB / 0.5916 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.09827, allocations: 111.8 kB / 0.5917 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.1004, allocations: 1.11 MB / 0.5928 GB, free: 15.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.1007, allocations: 45.7 kB / 0.5928 GB, free: 15.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.1012, allocations: 0.5093 MB / 0.5933 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.1017, allocations: 380.8 kB / 0.5937 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005863/0.1023, allocations: 283.5 kB / 0.5939 GB, free: 14.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1024, allocations: 317.1 kB / 0.5942 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.1043, allocations: 0.835 MB / 0.5951 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.1063, allocations: 1.012 MB / 0.5961 GB, free: 12.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02917/0.1355, allocations: 6.11 MB / 0.602 GB, free: 5.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.1355, allocations: 0 / 0.602 GB, free: 5.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01617/0.1517, allocations: 4.504 MB / 0.6064 GB, free: 1.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.1518, allocations: 67.39 kB / 0.6065 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.1518, allocations: 4 kB / 0.6065 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007216/0.1591, allocations: 1.643 MB / 0.6081 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.1609, allocations: 295.5 kB / 0.6084 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.1853, allocations: 8.335 MB / 0.6165 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.1879, allocations: 207.2 kB / 0.6167 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/0.1883, allocations: 59.91 kB / 0.6168 GB, free: 6.715 MB / 478.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (164): * Single equations (assignments): 161 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001149/0.1894, allocations: 302.3 kB / 0.6171 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/0.1901, allocations: 135.1 kB / 0.6172 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.2051, allocations: 3.914 MB / 0.621 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.2051, allocations: 12 kB / 0.621 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/0.2051, allocations: 8 kB / 0.621 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/0.2051, allocations: 7.984 kB / 0.621 GB, free: 2.297 MB / 478.1 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 postOpt removeSimpleEquations (simulation): time 0.01767/0.2228, allocations: 4.962 MB / 0.6259 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.2228, allocations: 0 / 0.6259 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.2236, allocations: 103.9 kB / 0.626 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006301/0.2299, allocations: 1.594 MB / 0.6275 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/0.2302, allocations: 20 kB / 0.6276 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/0.2539, allocations: 9.189 MB / 0.6365 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2539, allocations: 0 / 0.6365 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/0.2706, allocations: 4.836 MB / 0.6412 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.2713, allocations: 150.9 kB / 0.6414 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.2717, allocations: 20 kB / 0.6414 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.2734, allocations: 115.9 kB / 0.6415 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007781/0.2742, allocations: 208.6 kB / 0.6417 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.2743, allocations: 20 kB / 0.6417 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001996/0.2763, allocations: 0.7667 MB / 0.6425 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2763, allocations: 3.938 kB / 0.6425 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002562/0.2789, allocations: 491.6 kB / 0.643 GB, free: 11.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004045/0.2793, allocations: 139.1 kB / 0.6431 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007825/0.2871, allocations: 2.537 MB / 0.6456 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2871, allocations: 0 / 0.6456 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005/0.2921, allocations: 1.581 MB / 0.6471 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.2935, allocations: 109.8 kB / 0.6472 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.2988, allocations: 2.321 MB / 0.6495 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.2996, allocations: 0.5517 MB / 0.65 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005309/0.3001, allocations: 120.1 kB / 0.6501 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.3005, allocations: 76.48 kB / 0.6502 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.3005, allocations: 0 / 0.6502 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.0485/0.349, allocations: 26.81 MB / 0.6764 GB, free: 9.176 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.442273277789354] Failed to read output from testmodel.py, exit status != 0: 0.35866638273000717 0.37361164199999997 0.343863265 Calling exit ...