Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001907/0.001907, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002403/0.002403, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2036/0.2036, allocations: 38.52 MB / 348.7 MB, free: 2.656 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-master/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_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",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.00205/0.00205, allocations: 71.89 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01032/0.1229, allocations: 7.536 MB / 0.5441 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005558/0.1285, allocations: 3.069 MB / 0.5471 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.1291, allocations: 35.69 kB / 0.5471 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.1315, allocations: 0.7857 MB / 0.5479 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.1333, allocations: 0.696 MB / 0.5485 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.1342, allocations: 375.2 kB / 0.5489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.1361, allocations: 1.336 MB / 0.5502 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008571/0.137, allocations: 0.5925 MB / 0.5508 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007708/0.1378, allocations: 0.5721 MB / 0.5513 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.1387, allocations: 0.6696 MB / 0.552 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.1389, allocations: 76 kB / 0.5521 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.1398, allocations: 0.4991 MB / 0.5525 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.1404, allocations: 470.7 kB / 0.553 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.141, allocations: 0.4976 MB / 0.5535 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1428, allocations: 1.444 MB / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.1428, allocations: 7.984 kB / 0.5549 GB, free: 4.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1428, allocations: 4 kB / 0.5549 GB, free: 4.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.1429, allocations: 0 / 0.5549 GB, free: 4.836 MB / 414.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.002467/0.1453, allocations: 1.295 MB / 0.5562 GB, free: 3.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1454, allocations: 8.031 kB / 0.5562 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.1456, allocations: 135.7 kB / 0.5563 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.147, allocations: 212.1 kB / 0.5565 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.1485, allocations: 0.7221 MB / 0.5572 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1485, allocations: 66.12 kB / 0.5573 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.1488, allocations: 95.94 kB / 0.5574 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.1507, allocations: 1.126 MB / 0.5585 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.1508, allocations: 7.922 kB / 0.5585 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.1509, allocations: 32 kB / 0.5585 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.1511, allocations: 69.95 kB / 0.5586 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.1527, allocations: 0.8899 MB / 0.5594 GB, free: 40 kB / 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.006284/0.159, allocations: 4.063 MB / 0.5634 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.1597, allocations: 402 kB / 0.5638 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.1601, allocations: 256.2 kB / 0.564 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.1602, allocations: 15.98 kB / 0.5641 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1602, allocations: 38.56 kB / 0.5641 GB, free: 11.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.1602, allocations: 0 / 0.5641 GB, free: 11.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=52): time 0.004649/0.1649, allocations: 2 MB / 0.566 GB, free: 8.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1649, allocations: 93.48 kB / 0.5661 GB, free: 8.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.1657, allocations: 0.5654 MB / 0.5667 GB, free: 8.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.1657, allocations: 37.7 kB / 0.5667 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.1661, allocations: 483.8 kB / 0.5672 GB, free: 7.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.1663, allocations: 198.4 kB / 0.5674 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.1666, allocations: 150.6 kB / 0.5675 GB, free: 7.406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1668, allocations: 378.7 kB / 0.5679 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.1673, allocations: 269.8 kB / 0.5681 GB, free: 6.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.1679, allocations: 0.5042 MB / 0.5686 GB, free: 6.148 MB / 430.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.003547/0.1715, allocations: 1.404 MB / 0.57 GB, free: 4.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1715, allocations: 8 kB / 0.57 GB, free: 4.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002154/0.1737, allocations: 1.088 MB / 0.5711 GB, free: 3.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1737, allocations: 12.09 kB / 0.5711 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001392/0.1751, allocations: 0.7521 MB / 0.5718 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.1756, allocations: 162.4 kB / 0.572 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.1763, allocations: 175.7 kB / 0.5721 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/0.1817, allocations: 4.856 MB / 0.5769 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.1823, allocations: 39.92 kB / 0.5769 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.1824, allocations: 32 kB / 0.5769 GB, free: 13.04 MB / 446.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.0005657/0.183, allocations: 317.5 kB / 0.5772 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.1831, allocations: 71.52 kB / 0.5773 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.1844, allocations: 0.6434 MB / 0.5779 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1844, allocations: 8 kB / 0.578 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1844, allocations: 0 / 0.578 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1844, allocations: 3.984 kB / 0.578 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.1871, allocations: 1.522 MB / 0.5794 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1871, allocations: 4 kB / 0.5794 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.1878, allocations: 132 kB / 0.5796 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1878, allocations: 4 kB / 0.5796 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.1878, allocations: 12 kB / 0.5796 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1878, allocations: 4 kB / 0.5796 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1878, allocations: 7.938 kB / 0.5796 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1893, allocations: 0.9527 MB / 0.5805 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.1895, allocations: 184.7 kB / 0.5807 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1896, allocations: 15.98 kB / 0.5807 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.19, allocations: 23.98 kB / 0.5807 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.19, allocations: 40.33 kB / 0.5808 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.1901, allocations: 16 kB / 0.5808 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005271/0.1906, allocations: 407 kB / 0.5812 GB, free: 8.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1906, allocations: 3.938 kB / 0.5812 GB, free: 8.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.1915, allocations: 231.9 kB / 0.5814 GB, free: 8.309 MB / 446.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.00198/0.1934, allocations: 1.547 MB / 0.5829 GB, free: 6.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.1952, allocations: 0.9795 MB / 0.5839 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1952, allocations: 4 kB / 0.5839 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.1956, allocations: 247.8 kB / 0.5841 GB, free: 5.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.1964, allocations: 153.5 kB / 0.5843 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2385/0.4349, allocations: 7.14 MB / 0.5912 GB, free: 49.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.4356, allocations: 1.08 MB / 0.5923 GB, free: 48.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005808/0.4361, allocations: 203 kB / 0.5925 GB, free: 48.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.4366, allocations: 324.4 kB / 0.5928 GB, free: 48.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4366, allocations: 0 / 0.5928 GB, free: 48.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.4967, allocations: 16.13 MB / 0.6085 GB, free: 44.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.71, allocations: 19.05 kB / 0.6086 GB, free: 44 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.774076380301267] Failed to read output from testmodel.py, exit status != 0: 11.807618980295956 11.824622459 11.678354473 Calling exit ...