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.001308/0.001308, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001476/0.001476, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.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.1887/0.1887, allocations: 38.54 MB / 353.2 MB, free: 12.33 MB / 286.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.91 kB / 493.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 62.46 MB / 0.5427 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00979/0.3264, allocations: 7.102 MB / 0.5496 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.3316, allocations: 2.817 MB / 0.5524 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.3321, allocations: 36.62 kB / 0.5524 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3343, allocations: 0.7577 MB / 0.5532 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.3362, allocations: 0.7019 MB / 0.5538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3373, allocations: 398.1 kB / 0.5542 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.3391, allocations: 1.334 MB / 0.5555 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000818/0.3399, allocations: 0.5583 MB / 0.5561 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/0.3407, allocations: 0.5725 MB / 0.5566 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3418, allocations: 0.6835 MB / 0.5573 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.3419, allocations: 72 kB / 0.5574 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.3429, allocations: 0.503 MB / 0.5579 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.3434, allocations: 470.8 kB / 0.5583 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.3439, allocations: 426.1 kB / 0.5587 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.3458, allocations: 1.448 MB / 0.5601 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3458, allocations: 0 / 0.5601 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3458, allocations: 0 / 0.5601 GB, free: 2.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3458, allocations: 0 / 0.5601 GB, free: 2.418 MB / 398.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.002344/0.3481, allocations: 1.22 MB / 0.5613 GB, free: 1.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3482, allocations: 19.98 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.13e-05/0.3482, allocations: 22.19 kB / 0.5614 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.3484, allocations: 139.7 kB / 0.5615 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3497, allocations: 212.1 kB / 0.5617 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3512, allocations: 0.6421 MB / 0.5623 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.3513, allocations: 73.92 kB / 0.5624 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.3515, allocations: 91.94 kB / 0.5625 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3533, allocations: 1.122 MB / 0.5636 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.3534, allocations: 4 kB / 0.5636 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.3535, allocations: 32 kB / 0.5636 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.3536, allocations: 69.97 kB / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3552, allocations: 0.8938 MB / 0.5646 GB, free: 13.77 MB / 414.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.005475/0.3606, allocations: 3.677 MB / 0.5681 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.3613, allocations: 320.9 kB / 0.5684 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.3617, allocations: 259.6 kB / 0.5687 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3617, allocations: 12 kB / 0.5687 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3617, allocations: 42.5 kB / 0.5687 GB, free: 9.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.3617, allocations: 0 / 0.5687 GB, free: 9.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.00461/0.3663, allocations: 1.924 MB / 0.5706 GB, free: 7.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3664, allocations: 85.55 kB / 0.5707 GB, free: 7.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.3672, allocations: 0.5694 MB / 0.5713 GB, free: 6.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.3672, allocations: 33.7 kB / 0.5713 GB, free: 6.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.3676, allocations: 479.7 kB / 0.5718 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.3678, allocations: 198.4 kB / 0.5719 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.3681, allocations: 154.5 kB / 0.5721 GB, free: 5.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.3683, allocations: 378.7 kB / 0.5725 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.3688, allocations: 269.8 kB / 0.5727 GB, free: 5.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.3694, allocations: 0.5042 MB / 0.5732 GB, free: 4.5 MB / 414.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.003449/0.3729, allocations: 1.41 MB / 0.5746 GB, free: 2.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.3729, allocations: 8 kB / 0.5746 GB, free: 2.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002152/0.375, allocations: 1.009 MB / 0.5756 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3751, allocations: 8.562 kB / 0.5756 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001306/0.3764, allocations: 0.6869 MB / 0.5762 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.377, allocations: 162.4 kB / 0.5764 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.3776, allocations: 175.7 kB / 0.5766 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.3825, allocations: 4.526 MB / 0.581 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.3832, allocations: 47.86 kB / 0.581 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.3833, allocations: 28 kB / 0.5811 GB, free: 11.96 MB / 430.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.0006238/0.3839, allocations: 321.5 kB / 0.5814 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.384, allocations: 71.45 kB / 0.5814 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.3852, allocations: 0.6436 MB / 0.5821 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3853, allocations: 15.98 kB / 0.5821 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3853, allocations: 0 / 0.5821 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3853, allocations: 0 / 0.5821 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.388, allocations: 1.428 MB / 0.5835 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.388, allocations: 192 / 0.5835 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.3887, allocations: 127.9 kB / 0.5836 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.3887, allocations: 4 kB / 0.5836 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.3887, allocations: 16 kB / 0.5836 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/0.3887, allocations: 7.984 kB / 0.5836 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.3887, allocations: 11.88 kB / 0.5836 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3902, allocations: 0.9431 MB / 0.5846 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.3905, allocations: 107.5 kB / 0.5847 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3906, allocations: 19.98 kB / 0.5847 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3909, allocations: 23.98 kB / 0.5847 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.391, allocations: 44.25 kB / 0.5847 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3911, allocations: 8 kB / 0.5848 GB, free: 8.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005487/0.3916, allocations: 411 kB / 0.5851 GB, free: 7.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3916, allocations: 0 / 0.5851 GB, free: 7.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009159/0.3925, allocations: 239.9 kB / 0.5854 GB, free: 7.422 MB / 430.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.001963/0.3945, allocations: 1.537 MB / 0.5869 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3963, allocations: 0.9879 MB / 0.5878 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.3963, allocations: 0 / 0.5878 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.3968, allocations: 258.2 kB / 0.5881 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.3977, allocations: 147 kB / 0.5882 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.4085, allocations: 7.011 MB / 0.5951 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.4091, allocations: 490.5 kB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005678/0.4097, allocations: 205.7 kB / 0.5957 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4102, allocations: 331.3 kB / 0.5961 GB, free: 12.02 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4102, allocations: 0 / 0.5961 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.4611, allocations: 16.95 MB / 0.6126 GB, free: 11.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.81, allocations: 4 kB / 0.6126 GB, free: 11.32 MB / 462.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.702188472030684] Failed to read output from testmodel.py, exit status != 0: 13.995992921991274 14.011100946000001 13.662137957 Calling exit ...