Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.001855/0.001855, allocations: 123.9 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.002195/0.002195, allocations: 189.2 kB / 20.73 MB, free: 2.336 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.385/1.385, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.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.2008/0.2008, allocations: 38.49 MB / 342.5 MB, free: 7.992 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.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.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 73.22 kB / 478.6 MB, free: 33.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 61.25 MB / 0.5272 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008715/0.119, allocations: 6.709 MB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1227, allocations: 2.025 MB / 0.5357 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.123, allocations: 19.88 kB / 0.5357 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.1249, allocations: 0.7311 MB / 0.5365 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1262, allocations: 0.5833 MB / 0.537 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.1269, allocations: 247.5 kB / 0.5373 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.1282, allocations: 1.137 MB / 0.5384 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007415/0.129, allocations: 481.7 kB / 0.5388 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.1297, allocations: 0.5252 MB / 0.5393 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.1307, allocations: 0.6541 MB / 0.54 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1308, allocations: 68 kB / 0.5401 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.1313, allocations: 279.6 kB / 0.5403 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.1318, allocations: 490.7 kB / 0.5408 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.1323, allocations: 0.4936 MB / 0.5413 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1336, allocations: 1.183 MB / 0.5424 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1336, allocations: 0 / 0.5424 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1336, allocations: 0 / 0.5424 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1336, allocations: 4 kB / 0.5424 GB, free: 1.688 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002194/0.1358, allocations: 1.233 MB / 0.5436 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1359, allocations: 11.89 kB / 0.5436 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.136, allocations: 143.9 kB / 0.5438 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009252/0.137, allocations: 172.1 kB / 0.5439 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.1383, allocations: 0.6322 MB / 0.5446 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.1384, allocations: 70.34 kB / 0.5446 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.1386, allocations: 99.84 kB / 0.5447 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.1404, allocations: 1.149 MB / 0.5458 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.1404, allocations: 3.938 kB / 0.5459 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.1405, allocations: 43.97 kB / 0.5459 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.1407, allocations: 85.95 kB / 0.546 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.1424, allocations: 0.999 MB / 0.547 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006139/0.1485, allocations: 4.347 MB / 0.5512 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1498, allocations: 0.5992 MB / 0.5518 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.1502, allocations: 286.2 kB / 0.5521 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.1503, allocations: 16.55 kB / 0.5521 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1503, allocations: 43.11 kB / 0.5521 GB, free: 7.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.1503, allocations: 0 / 0.5521 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003088/0.1534, allocations: 1.752 MB / 0.5538 GB, free: 5.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1535, allocations: 85.61 kB / 0.5539 GB, free: 5.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.1541, allocations: 0.5573 MB / 0.5544 GB, free: 4.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.1542, allocations: 33.7 kB / 0.5545 GB, free: 4.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.1545, allocations: 448 kB / 0.5549 GB, free: 4.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.1547, allocations: 234.1 kB / 0.5551 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.155, allocations: 186.5 kB / 0.5553 GB, free: 3.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1552, allocations: 382.8 kB / 0.5557 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.1558, allocations: 285.8 kB / 0.5559 GB, free: 3.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.1566, allocations: 0.6075 MB / 0.5565 GB, free: 2.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.158, allocations: 0.973 MB / 0.5575 GB, free: 1.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1581, allocations: 7.984 kB / 0.5575 GB, free: 1.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002283/0.1603, allocations: 1.169 MB / 0.5586 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1604, allocations: 8 kB / 0.5586 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001455/0.1618, allocations: 0.7083 MB / 0.5593 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000768/0.1626, allocations: 214.7 kB / 0.5595 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.1634, allocations: 227.6 kB / 0.5598 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.1692, allocations: 5.369 MB / 0.565 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.1698, allocations: 35.95 kB / 0.565 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.1699, allocations: 47.98 kB / 0.5651 GB, free: 9.191 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005189/0.1704, allocations: 345.4 kB / 0.5654 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1705, allocations: 71.52 kB / 0.5655 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.1716, allocations: 0.6461 MB / 0.5661 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1716, allocations: 8 kB / 0.5661 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1716, allocations: 3.938 kB / 0.5661 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1717, allocations: 3.984 kB / 0.5661 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.1745, allocations: 1.547 MB / 0.5676 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1745, allocations: 0 / 0.5676 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.1753, allocations: 172 kB / 0.5678 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1753, allocations: 4 kB / 0.5678 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.1753, allocations: 19.98 kB / 0.5678 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.1753, allocations: 7.938 kB / 0.5678 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1753, allocations: 4 kB / 0.5678 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.1769, allocations: 1.022 MB / 0.5688 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.1772, allocations: 192.6 kB / 0.569 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.1773, allocations: 16 kB / 0.569 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.1775, allocations: 15.98 kB / 0.569 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1777, allocations: 52.44 kB / 0.5691 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.1777, allocations: 20.12 kB / 0.5691 GB, free: 4.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.1781, allocations: 362.8 kB / 0.5695 GB, free: 4.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1781, allocations: 0 / 0.5695 GB, free: 4.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.1789, allocations: 216 kB / 0.5697 GB, free: 4.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.001857/0.1808, allocations: 1.594 MB / 0.5712 GB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.1826, allocations: 1.08 MB / 0.5723 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1826, allocations: 0 / 0.5723 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.1831, allocations: 295 kB / 0.5726 GB, free: 1.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.1839, allocations: 158.2 kB / 0.5727 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.1941, allocations: 7.158 MB / 0.5797 GB, free: 9.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/0.1949, allocations: 1.071 MB / 0.5807 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006083/0.1955, allocations: 225.6 kB / 0.581 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.1959, allocations: 311.3 kB / 0.5813 GB, free: 7.934 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1959, allocations: 0 / 0.5813 GB, free: 7.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.2459, allocations: 15.57 MB / 0.5965 GB, free: 8.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.27, allocations: 5.859 kB / 0.5965 GB, free: 8.461 MB / 462.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.24156098999083] Failed to read output from testmodel.py, exit status != 0: 11.362847162876278 11.57052227 11.43284539 Calling exit ...