Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.00194/0.00194, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] 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.002101/0.002101, allocations: 163.6 kB / 23.95 MB, free: 4.172 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.522/1.522, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1821/0.1821, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.17e-06, allocations: 4 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/3.118e-05, allocations: 5.656 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00977/0.009801, allocations: 7.041 MB / 437.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.0154, allocations: 2.842 MB / 440.6 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.016, allocations: 35.75 kB / 440.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.01847, allocations: 0.7543 MB / 441.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.02057, allocations: 0.7226 MB / 442.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.02172, allocations: 402.2 kB / 442.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.02375, allocations: 1.355 MB / 443.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009977/0.02475, allocations: 0.5612 MB / 444.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.02613, allocations: 0.7595 MB / 445.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.02736, allocations: 0.5844 MB / 445.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.02759, allocations: 76 kB / 445.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.02874, allocations: 0.5028 MB / 446.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.02933, allocations: 494.7 kB / 446.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.02997, allocations: 351.2 kB / 447.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1932/0.2232, allocations: 1.447 MB / 448.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2232, allocations: 0.5938 kB / 448.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2232, allocations: 0 / 448.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-05/0.2233, allocations: 1.281 kB / 448.6 MB, free: 17.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002388/0.2257, allocations: 1.215 MB / 449.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2257, allocations: 13.3 kB / 449.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.2272, allocations: 220.7 kB / 450.1 MB, free: 17.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2288, allocations: 0.652 MB / 450.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.2288, allocations: 64.36 kB / 450.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.2291, allocations: 96.16 kB / 450.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.2308, allocations: 1.123 MB / 452 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.2309, allocations: 2.156 kB / 452 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.231, allocations: 36.8 kB / 452 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.2312, allocations: 68.81 kB / 452.1 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.2327, allocations: 0.8862 MB / 453 MB, free: 16.84 MB / 366.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.005102/0.2379, allocations: 3.536 MB / 456.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.2384, allocations: 321.9 kB / 456.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.2388, allocations: 247.6 kB / 457.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.2388, allocations: 6.828 kB / 457.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2389, allocations: 42.19 kB / 457.1 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.123e-06/0.2389, allocations: 3.75 kB / 457.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004451/0.2433, allocations: 1.921 MB / 459.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2434, allocations: 83.64 kB / 459.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.2439, allocations: 0.5252 MB / 459.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.244, allocations: 35.53 kB / 459.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.2442, allocations: 490.2 kB / 460.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2443, allocations: 196.5 kB / 460.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.2445, allocations: 150.4 kB / 460.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.2446, allocations: 371.1 kB / 460.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.245, allocations: 269.2 kB / 461.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.2456, allocations: 0.505 MB / 461.6 MB, free: 12.88 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.2488, allocations: 1.411 MB / 463.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2488, allocations: 1.312 kB / 463.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001903/0.2507, allocations: 1.007 MB / 464.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2507, allocations: 8.938 kB / 464.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001241/0.252, allocations: 0.6855 MB / 464.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.2525, allocations: 164.9 kB / 464.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.2531, allocations: 175.3 kB / 465.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.2566, allocations: 4.459 MB / 469.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.2574, allocations: 42.44 kB / 469.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.2575, allocations: 32.33 kB / 469.6 MB, free: 7.602 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * 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): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008702/0.2584, allocations: 332.1 kB / 469.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.2586, allocations: 65.05 kB / 470 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2598, allocations: 0.6344 MB / 470.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2598, allocations: 5.781 kB / 470.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2598, allocations: 1.859 kB / 470.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2598, allocations: 3.75 kB / 470.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.2622, allocations: 1.313 MB / 472 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2622, allocations: 3.531 kB / 472 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.2629, allocations: 124.9 kB / 472.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.2629, allocations: 4.375 kB / 472.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.2629, allocations: 14.59 kB / 472.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.2629, allocations: 18.05 kB / 472.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2629, allocations: 2.75 kB / 472.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.2642, allocations: 0.9382 MB / 473.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.2644, allocations: 107.6 kB / 473.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.2645, allocations: 17.8 kB / 473.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2649, allocations: 24.33 kB / 473.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.265, allocations: 42.66 kB / 473.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.265, allocations: 20.23 kB / 473.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.2654, allocations: 359.9 kB / 473.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2654, allocations: 0 / 473.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009558/0.2664, allocations: 236.1 kB / 473.9 MB, free: 5.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.2667, allocations: 142.7 kB / 474 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.2682, allocations: 0.9929 MB / 475 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2682, allocations: 1.438 kB / 475 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.2685, allocations: 250.7 kB / 475.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.2693, allocations: 147.5 kB / 475.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.272, allocations: 1.807 MB / 477.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.2725, allocations: 488.5 kB / 477.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.2729, allocations: 194.5 kB / 477.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.2731, allocations: 56.28 kB / 477.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2731, allocations: 4 kB / 477.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01517/0.2883, allocations: 8.142 MB / 486.1 MB, free: 15.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.132140286266804] Failed to read output from testmodel.py, exit status != 0: 0.2982080243527889 0.31323261299999994 0.08662525800000001 Calling exit ...