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.00175/0.00175, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002172/0.002172, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.519/1.519, 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/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.184/0.184, allocations: 38.51 MB / 348.7 MB, free: 2.586 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_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.001852/0.001852, allocations: 71.91 kB / 487.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1154, allocations: 62.42 MB / 0.5367 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01455/0.13, allocations: 7.533 MB / 0.544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007378/0.1373, allocations: 3.073 MB / 0.547 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.1382, allocations: 39.69 kB / 0.5471 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.141, allocations: 0.7779 MB / 0.5478 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.1437, allocations: 0.696 MB / 0.5485 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.145, allocations: 383.2 kB / 0.5489 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.1475, allocations: 1.332 MB / 0.5502 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.1485, allocations: 0.5964 MB / 0.5508 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009384/0.1494, allocations: 0.5682 MB / 0.5513 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1506, allocations: 0.6696 MB / 0.552 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.1507, allocations: 76 kB / 0.552 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009824/0.1517, allocations: 0.5069 MB / 0.5525 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005042/0.1522, allocations: 462.8 kB / 0.553 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006436/0.1529, allocations: 0.5015 MB / 0.5535 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.1547, allocations: 1.448 MB / 0.5549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1547, allocations: 0 / 0.5549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1547, allocations: 0 / 0.5549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.1548, allocations: 3.938 kB / 0.5549 GB, free: 4.809 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.00258/0.1573, allocations: 1.295 MB / 0.5561 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1574, allocations: 12.03 kB / 0.5562 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.1576, allocations: 139.7 kB / 0.5563 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.159, allocations: 216.1 kB / 0.5565 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1605, allocations: 0.7143 MB / 0.5572 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.1606, allocations: 66.12 kB / 0.5573 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.1608, allocations: 99.92 kB / 0.5574 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.1627, allocations: 1.119 MB / 0.5584 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.1627, allocations: 4 kB / 0.5585 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.1628, allocations: 32 kB / 0.5585 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.163, allocations: 65.97 kB / 0.5585 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.1645, allocations: 0.8937 MB / 0.5594 GB, free: 12 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.006085/0.1706, allocations: 4.063 MB / 0.5634 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.1713, allocations: 402 kB / 0.5638 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.1717, allocations: 256.2 kB / 0.564 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.1717, allocations: 7.984 kB / 0.564 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1718, allocations: 46.48 kB / 0.5641 GB, free: 10.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/0.1718, allocations: 0 / 0.5641 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=52): time 0.004624/0.1764, allocations: 2.004 MB / 0.566 GB, free: 8.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1765, allocations: 81.55 kB / 0.5661 GB, free: 8.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.1772, allocations: 0.5656 MB / 0.5667 GB, free: 8.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.1772, allocations: 37.7 kB / 0.5667 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.1776, allocations: 487.6 kB / 0.5672 GB, free: 7.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.1778, allocations: 194.4 kB / 0.5673 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.178, allocations: 150.5 kB / 0.5675 GB, free: 7.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1783, allocations: 382.7 kB / 0.5678 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.1787, allocations: 269.8 kB / 0.5681 GB, free: 6.738 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.1794, allocations: 0.5004 MB / 0.5686 GB, free: 6.129 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.003449/0.1828, allocations: 1.415 MB / 0.57 GB, free: 4.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.1828, allocations: 4 kB / 0.57 GB, free: 4.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002265/0.1851, allocations: 1.092 MB / 0.571 GB, free: 3.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1851, allocations: 8 kB / 0.5711 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001366/0.1865, allocations: 0.7483 MB / 0.5718 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.1871, allocations: 170.5 kB / 0.5719 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.1878, allocations: 171.7 kB / 0.5721 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.1927, allocations: 4.844 MB / 0.5768 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.1934, allocations: 43.92 kB / 0.5769 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.1935, allocations: 31.98 kB / 0.5769 GB, free: 13.02 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.0005786/0.194, allocations: 334.1 kB / 0.5772 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.1942, allocations: 79.48 kB / 0.5773 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.1954, allocations: 0.6395 MB / 0.5779 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1955, allocations: 4 kB / 0.5779 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1955, allocations: 3.938 kB / 0.5779 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1955, allocations: 3.984 kB / 0.5779 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.1983, allocations: 1.518 MB / 0.5794 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.1983, allocations: 8.188 kB / 0.5794 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.199, allocations: 123.9 kB / 0.5796 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.199, allocations: 4 kB / 0.5796 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.199, allocations: 19.98 kB / 0.5796 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.199, allocations: 4 kB / 0.5796 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.199, allocations: 7.875 kB / 0.5796 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.2005, allocations: 0.945 MB / 0.5805 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.2009, allocations: 188.6 kB / 0.5807 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.201, allocations: 16 kB / 0.5807 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.2014, allocations: 23.98 kB / 0.5807 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.2015, allocations: 40.27 kB / 0.5808 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2015, allocations: 16 kB / 0.5808 GB, free: 8.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005992/0.2021, allocations: 411 kB / 0.5812 GB, free: 8.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2021, allocations: 3.938 kB / 0.5812 GB, free: 8.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009795/0.2031, allocations: 235.9 kB / 0.5814 GB, free: 8.27 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.002061/0.2051, allocations: 1.532 MB / 0.5829 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2072, allocations: 0.987 MB / 0.5839 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.2072, allocations: 0 / 0.5839 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.2076, allocations: 255.7 kB / 0.5841 GB, free: 5.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.2085, allocations: 142.4 kB / 0.5842 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2362/0.4448, allocations: 7.142 MB / 0.5912 GB, free: 48.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.4454, allocations: 1.082 MB / 0.5923 GB, free: 48.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005586/0.4459, allocations: 196.1 kB / 0.5925 GB, free: 48.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.4463, allocations: 328.2 kB / 0.5928 GB, free: 48.23 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4463, allocations: 0 / 0.5928 GB, free: 48.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/0.5025, allocations: 16.12 MB / 0.6085 GB, free: 43.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.66, allocations: 9.891 kB / 0.6085 GB, free: 43.72 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.653395863002515] Failed to read output from testmodel.py, exit status != 0: 11.751040025992552 11.771483118999999 11.612747985 Calling exit ...