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.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.001865/0.001865, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002135/0.002135, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.2 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.1986/0.1986, allocations: 38.51 MB / 349.4 MB, free: 2.57 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.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="cs",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.002012/0.002012, allocations: 68.69 kB / 487.8 MB, free: 32.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1269, allocations: 62.42 MB / 0.5373 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009183/0.136, allocations: 6.717 MB / 0.5439 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.1403, allocations: 2.041 MB / 0.5459 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.1408, allocations: 31.75 kB / 0.5459 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.1428, allocations: 0.7428 MB / 0.5467 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1443, allocations: 0.5755 MB / 0.5472 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.1451, allocations: 251.5 kB / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.1468, allocations: 1.141 MB / 0.5486 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.1476, allocations: 485.7 kB / 0.549 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.149, allocations: 0.5292 MB / 0.5496 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.1503, allocations: 0.6541 MB / 0.5502 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1505, allocations: 68 kB / 0.5503 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.1512, allocations: 279.6 kB / 0.5505 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.1518, allocations: 494.6 kB / 0.551 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.1524, allocations: 0.4898 MB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1541, allocations: 1.179 MB / 0.5526 GB, free: 9.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1541, allocations: 0 / 0.5526 GB, free: 9.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1541, allocations: 4 kB / 0.5526 GB, free: 9.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.1541, allocations: 0 / 0.5526 GB, free: 9.793 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002649/0.1568, allocations: 1.241 MB / 0.5538 GB, free: 8.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.1568, allocations: 12.03 kB / 0.5539 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.86e-05/0.1569, allocations: 22.19 kB / 0.5539 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.1571, allocations: 151.9 kB / 0.554 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.1581, allocations: 164.2 kB / 0.5542 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1594, allocations: 0.6283 MB / 0.5548 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.1595, allocations: 70.11 kB / 0.5549 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.1597, allocations: 95.97 kB / 0.5549 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.1616, allocations: 1.157 MB / 0.5561 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1617, allocations: 3.953 kB / 0.5561 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.1617, allocations: 35.98 kB / 0.5561 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.1619, allocations: 89.89 kB / 0.5562 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.1637, allocations: 0.9991 MB / 0.5572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005959/0.1697, allocations: 4.351 MB / 0.5614 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.171, allocations: 0.5924 MB / 0.562 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.1715, allocations: 286.3 kB / 0.5623 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1715, allocations: 8.562 kB / 0.5623 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1716, allocations: 39.12 kB / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 3.015e-06/0.1716, allocations: 0 / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.003425/0.175, allocations: 1.764 MB / 0.564 GB, free: 13.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.1751, allocations: 85.66 kB / 0.5641 GB, free: 13.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.1757, allocations: 0.5495 MB / 0.5647 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1758, allocations: 37.69 kB / 0.5647 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.1761, allocations: 456 kB / 0.5651 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.1764, allocations: 230.1 kB / 0.5654 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.1766, allocations: 182.6 kB / 0.5655 GB, free: 12.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1768, allocations: 382.8 kB / 0.5659 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.1774, allocations: 285.8 kB / 0.5662 GB, free: 11.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.1782, allocations: 0.6036 MB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.1796, allocations: 0.9769 MB / 0.5677 GB, free: 9.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1796, allocations: 4 kB / 0.5677 GB, free: 9.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00234/0.1819, allocations: 1.172 MB / 0.5689 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1819, allocations: 8 kB / 0.5689 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001436/0.1834, allocations: 0.7083 MB / 0.5696 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008049/0.1842, allocations: 222.5 kB / 0.5698 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.185, allocations: 223.6 kB / 0.57 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.1909, allocations: 5.377 MB / 0.5752 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.1916, allocations: 31.98 kB / 0.5753 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.1916, allocations: 44 kB / 0.5753 GB, free: 1.281 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.000548/0.1922, allocations: 353.3 kB / 0.5756 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.1923, allocations: 71.52 kB / 0.5757 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.1936, allocations: 0.6538 MB / 0.5763 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1936, allocations: 8 kB / 0.5764 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1936, allocations: 0 / 0.5764 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.1936, allocations: 3.984 kB / 0.5764 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.1964, allocations: 1.535 MB / 0.5779 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1964, allocations: 0 / 0.5779 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.1972, allocations: 175.9 kB / 0.578 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1973, allocations: 8 kB / 0.578 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.1973, allocations: 16 kB / 0.578 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1973, allocations: 4.234 kB / 0.5781 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1973, allocations: 4 kB / 0.5781 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1989, allocations: 1.03 MB / 0.5791 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.1992, allocations: 180.6 kB / 0.5792 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.1993, allocations: 19.98 kB / 0.5793 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.1996, allocations: 16.12 kB / 0.5793 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1997, allocations: 48.42 kB / 0.5793 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.1998, allocations: 32 kB / 0.5793 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.2002, allocations: 354.8 kB / 0.5797 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2002, allocations: 3.938 kB / 0.5797 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009341/0.2012, allocations: 220 kB / 0.5799 GB, free: 12.43 MB / 446.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.001981/0.2032, allocations: 1.602 MB / 0.5815 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.2051, allocations: 1.076 MB / 0.5825 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2051, allocations: 0 / 0.5825 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.2056, allocations: 299 kB / 0.5828 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.2065, allocations: 161.9 kB / 0.583 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.2174, allocations: 7.148 MB / 0.5899 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/0.2182, allocations: 1.067 MB / 0.591 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006233/0.2188, allocations: 225.5 kB / 0.5912 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.2193, allocations: 311.3 kB / 0.5915 GB, free: 12 kB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2193, allocations: 4 kB / 0.5915 GB, free: 8 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.2655, allocations: 15.61 MB / 0.6067 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.63, allocations: 0 / 0.6067 GB, free: 0.5273 MB / 462.1 MB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 14.992530005984008] Failed to read output from testmodel.py, exit status != 0: 12.045875016017817 12.059674399 11.902855608 Calling exit ...