Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001685/0.001685, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.00202/0.00202, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.468/1.468, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.1855/0.1855, allocations: 38.51 MB / 342.5 MB, free: 8.035 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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 65.8 kB / 478.6 MB, free: 33.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 61.26 MB / 0.5272 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01195/0.1249, allocations: 9.643 MB / 0.5367 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006829/0.1317, allocations: 3.58 MB / 0.5402 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.1325, allocations: 35.81 kB / 0.5402 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.1354, allocations: 1.124 MB / 0.5413 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.1378, allocations: 0.9021 MB / 0.5422 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1391, allocations: 483 kB / 0.5426 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.1418, allocations: 1.804 MB / 0.5444 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.143, allocations: 0.7592 MB / 0.5451 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.1443, allocations: 0.7821 MB / 0.5459 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.1457, allocations: 0.9617 MB / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.1459, allocations: 104 kB / 0.5469 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.147, allocations: 0.5654 MB / 0.5475 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006514/0.1476, allocations: 0.6506 MB / 0.5481 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.1484, allocations: 0.7036 MB / 0.5488 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.1507, allocations: 1.907 MB / 0.5507 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1507, allocations: 0 / 0.5507 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1507, allocations: 0 / 0.5507 GB, free: 9.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.1507, allocations: 3.984 kB / 0.5507 GB, free: 9.348 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003099/0.1538, allocations: 1.666 MB / 0.5523 GB, free: 7.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1539, allocations: 15.89 kB / 0.5523 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.1541, allocations: 177.6 kB / 0.5525 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.1558, allocations: 275.8 kB / 0.5527 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.158, allocations: 0.9494 MB / 0.5537 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.1581, allocations: 86.09 kB / 0.5538 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.1584, allocations: 139.9 kB / 0.5539 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.1608, allocations: 1.493 MB / 0.5553 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.1608, allocations: 4 kB / 0.5554 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.1609, allocations: 55.86 kB / 0.5554 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003006/0.1612, allocations: 98.16 kB / 0.5555 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.1634, allocations: 1.254 MB / 0.5567 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008534/0.1719, allocations: 5.638 MB / 0.5622 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.1728, allocations: 0.5625 MB / 0.5628 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.1734, allocations: 379.2 kB / 0.5631 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.1735, allocations: 16.55 kB / 0.5632 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.1735, allocations: 47.06 kB / 0.5632 GB, free: 11.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.014e-06/0.1735, allocations: 0 / 0.5632 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.00757/0.1811, allocations: 3.661 MB / 0.5668 GB, free: 8.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1812, allocations: 85.77 kB / 0.5669 GB, free: 8.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.1821, allocations: 0.7391 MB / 0.5676 GB, free: 7.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.1821, allocations: 37.7 kB / 0.5676 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.1826, allocations: 0.5975 MB / 0.5682 GB, free: 6.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.1829, allocations: 289.6 kB / 0.5685 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.1832, allocations: 182.6 kB / 0.5686 GB, free: 6.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.1834, allocations: 398.7 kB / 0.569 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.184, allocations: 389.8 kB / 0.5694 GB, free: 5.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.1849, allocations: 0.6613 MB / 0.57 GB, free: 4.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.1866, allocations: 1.148 MB / 0.5712 GB, free: 3.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.1866, allocations: 4 kB / 0.5712 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003464/0.19, allocations: 1.69 MB / 0.5728 GB, free: 1.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1901, allocations: 11.98 kB / 0.5728 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002741/0.1928, allocations: 1.282 MB / 0.5741 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.1947, allocations: 0.573 MB / 0.5746 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.1953, allocations: 171.7 kB / 0.5748 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.2085, allocations: 10.36 MB / 0.5849 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.2092, allocations: 59.86 kB / 0.585 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.2093, allocations: 40 kB / 0.585 GB, free: 4.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006041/0.2099, allocations: 377.4 kB / 0.5854 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2101, allocations: 99.39 kB / 0.5855 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.2125, allocations: 1.236 MB / 0.5867 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2125, allocations: 8 kB / 0.5867 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2125, allocations: 8 kB / 0.5867 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2125, allocations: 7.922 kB / 0.5867 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.217, allocations: 2.389 MB / 0.589 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.217, allocations: 0 / 0.589 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.2175, allocations: 111.8 kB / 0.5892 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.2186, allocations: 372.2 kB / 0.5895 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.2187, allocations: 31.97 kB / 0.5895 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009366/0.2281, allocations: 9.299 MB / 0.5986 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2281, allocations: 4 kB / 0.5986 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.2311, allocations: 1.679 MB / 0.6003 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.2318, allocations: 236.4 kB / 0.6005 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.232, allocations: 31.94 kB / 0.6005 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.2324, allocations: 31.98 kB / 0.6005 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.2326, allocations: 60.41 kB / 0.6006 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.2327, allocations: 20 kB / 0.6006 GB, free: 3.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008643/0.2335, allocations: 0.5029 MB / 0.6011 GB, free: 3.117 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2335, allocations: 0 / 0.6011 GB, free: 3.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001657/0.2352, allocations: 367.9 kB / 0.6015 GB, free: 2.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003455/0.2386, allocations: 2.276 MB / 0.6037 GB, free: 424 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.24/0.4786, allocations: 1.526 MB / 0.6052 GB, free: 71.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.4786, allocations: 1.062 kB / 0.6052 GB, free: 71.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.4802, allocations: 1.067 MB / 0.6062 GB, free: 70.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4813, allocations: 201.3 kB / 0.6064 GB, free: 70.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.4957, allocations: 9.905 MB / 0.6161 GB, free: 66.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4967, allocations: 1.254 MB / 0.6173 GB, free: 65.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007553/0.4974, allocations: 213.1 kB / 0.6175 GB, free: 65.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.498, allocations: 448.9 kB / 0.6179 GB, free: 65.61 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.498, allocations: 0.9688 kB / 0.6179 GB, free: 65.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/0.5636, allocations: 25.28 MB / 0.6426 GB, free: 48.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.65, allocations: 6.969 kB / 0.6426 GB, free: 48.14 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.550530664157122] Failed to read output from testmodel.py, exit status != 0: 14.763491910882294 14.781771883 14.627967073 Calling exit ...