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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 124.8 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.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.1931/0.1931, allocations: 38.51 MB / 342.5 MB, free: 8.07 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.05 kB / 478.6 MB, free: 33.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 61.24 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01096/0.119, allocations: 7.534 MB / 0.5346 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005732/0.1248, allocations: 2.999 MB / 0.5375 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.1255, allocations: 31.81 kB / 0.5375 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.1281, allocations: 0.7845 MB / 0.5383 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.1301, allocations: 0.7038 MB / 0.539 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1312, allocations: 375.2 kB / 0.5393 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.133, allocations: 1.328 MB / 0.5406 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.1339, allocations: 0.5925 MB / 0.5412 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.1347, allocations: 0.5565 MB / 0.5418 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.1357, allocations: 0.6775 MB / 0.5424 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1359, allocations: 72 kB / 0.5425 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008784/0.1367, allocations: 0.4912 MB / 0.543 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.1372, allocations: 470.7 kB / 0.5434 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.1378, allocations: 0.5054 MB / 0.5439 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.1395, allocations: 1.421 MB / 0.5453 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1395, allocations: 4 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1395, allocations: 0 / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1396, allocations: 3.938 kB / 0.5453 GB, free: 14.77 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.002377/0.1419, allocations: 1.292 MB / 0.5466 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.142, allocations: 15.89 kB / 0.5466 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.1421, allocations: 139.7 kB / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.1434, allocations: 212.1 kB / 0.5469 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.145, allocations: 0.722 MB / 0.5476 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.1451, allocations: 66.11 kB / 0.5477 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.1453, allocations: 91.98 kB / 0.5478 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.1471, allocations: 1.115 MB / 0.5489 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.1471, allocations: 4 kB / 0.5489 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.1472, allocations: 36 kB / 0.5489 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.1474, allocations: 69.97 kB / 0.549 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.1489, allocations: 0.8899 MB / 0.5498 GB, free: 9.98 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.005967/0.1548, allocations: 4.063 MB / 0.5538 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.1555, allocations: 402 kB / 0.5542 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1559, allocations: 257.6 kB / 0.5544 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1559, allocations: 4 kB / 0.5544 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.156, allocations: 46.48 kB / 0.5545 GB, free: 4.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.156, allocations: 0 / 0.5545 GB, free: 4.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004365/0.1603, allocations: 2.003 MB / 0.5564 GB, free: 2.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.1604, allocations: 85.55 kB / 0.5565 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.1611, allocations: 0.5693 MB / 0.5571 GB, free: 2.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1612, allocations: 33.7 kB / 0.5571 GB, free: 2.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.1615, allocations: 483.7 kB / 0.5576 GB, free: 1.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.1617, allocations: 198.3 kB / 0.5578 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.162, allocations: 154.6 kB / 0.5579 GB, free: 1.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1622, allocations: 386.6 kB / 0.5583 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.1626, allocations: 273.8 kB / 0.5585 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1632, allocations: 0.5004 MB / 0.559 GB, free: 92 kB / 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.003276/0.1665, allocations: 1.404 MB / 0.5604 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1665, allocations: 0 / 0.5604 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002071/0.1686, allocations: 1.088 MB / 0.5615 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1686, allocations: 8 kB / 0.5615 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001335/0.17, allocations: 0.7564 MB / 0.5622 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.1705, allocations: 158.4 kB / 0.5624 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.1712, allocations: 183.7 kB / 0.5625 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.176, allocations: 4.853 MB / 0.5673 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.1767, allocations: 39.97 kB / 0.5673 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.1768, allocations: 39.98 kB / 0.5674 GB, free: 6.973 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.0006375/0.1774, allocations: 320.2 kB / 0.5677 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1776, allocations: 79.53 kB / 0.5677 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1788, allocations: 0.6356 MB / 0.5684 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1788, allocations: 4 kB / 0.5684 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1788, allocations: 7.938 kB / 0.5684 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1788, allocations: 4.125 kB / 0.5684 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.1817, allocations: 1.511 MB / 0.5698 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.1817, allocations: 4 kB / 0.5699 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.1824, allocations: 127.8 kB / 0.57 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.1824, allocations: 4.188 kB / 0.57 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.1824, allocations: 23.98 kB / 0.57 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.1824, allocations: 4 kB / 0.57 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.1824, allocations: 11.88 kB / 0.57 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.1838, allocations: 0.945 MB / 0.5709 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.1842, allocations: 184.7 kB / 0.5711 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.1843, allocations: 16 kB / 0.5711 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.1846, allocations: 19.98 kB / 0.5711 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.1847, allocations: 40.27 kB / 0.5712 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1847, allocations: 20 kB / 0.5712 GB, free: 2.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005609/0.1853, allocations: 415 kB / 0.5716 GB, free: 2.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1853, allocations: 0 / 0.5716 GB, free: 2.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009611/0.1862, allocations: 231.9 kB / 0.5718 GB, free: 2.242 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.001868/0.1881, allocations: 1.538 MB / 0.5733 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.1898, allocations: 0.9882 MB / 0.5743 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1898, allocations: 0 / 0.5743 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.1902, allocations: 254.2 kB / 0.5745 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.1912, allocations: 149.3 kB / 0.5747 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.2028, allocations: 7.154 MB / 0.5817 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.2037, allocations: 1.078 MB / 0.5827 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006725/0.2043, allocations: 201.8 kB / 0.5829 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.2049, allocations: 323.3 kB / 0.5832 GB, free: 6.086 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2049, allocations: 8 kB / 0.5832 GB, free: 6.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.2595, allocations: 16.12 MB / 0.599 GB, free: 6.125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.52, allocations: 11.91 kB / 0.599 GB, free: 6.117 MB / 462.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.591196040157229] Failed to read output from testmodel.py, exit status != 0: 11.616416322998703 11.835948473 11.693402825 Calling exit ...