Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.0007663/0.0007663, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008093/0.0008093, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9095/0.9095, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2362/0.2362, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 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.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.638e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00416/0.004177, allocations: 4.985 MB / 435.2 MB, free: 8.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.00634, allocations: 1.682 MB / 436.9 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.006558, allocations: 27.81 kB / 436.9 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.007612, allocations: 425.2 kB / 437.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.008136, allocations: 314.1 kB / 437.6 MB, free: 6.156 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.008879, allocations: 394.9 kB / 438 MB, free: 5.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.00942, allocations: 0.7518 MB / 438.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.009755, allocations: 302.4 kB / 439.1 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.01015, allocations: 458.6 kB / 439.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.01055, allocations: 431 kB / 439.9 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.0106, allocations: 48 kB / 440 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.01085, allocations: 187.6 kB / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.01105, allocations: 307.2 kB / 440.5 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.01121, allocations: 239.4 kB / 440.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.01181, allocations: 0.8296 MB / 441.5 MB, free: 2.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01181, allocations: 7.938 kB / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01181, allocations: 4 kB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.01182, allocations: 0 / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001065/0.01288, allocations: 0.8415 MB / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.01294, allocations: 11.98 kB / 442.4 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.01303, allocations: 106.7 kB / 442.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.01363, allocations: 172.4 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.01423, allocations: 488.5 kB / 443.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.01425, allocations: 29.38 kB / 443.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.01446, allocations: 132.2 kB / 443.3 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.156/0.1704, allocations: 0.8609 MB / 444.2 MB, free: 54.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.1705, allocations: 2.719 kB / 444.2 MB, free: 54.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1705, allocations: 19.06 kB / 444.2 MB, free: 54.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/0.1708, allocations: 76.48 kB / 444.3 MB, free: 54.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006207/0.1714, allocations: 0.6166 MB / 444.9 MB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.1737, allocations: 3.573 MB / 448.4 MB, free: 51.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.1743, allocations: 0.5249 MB / 449 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1746, allocations: 314.2 kB / 449.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1746, allocations: 7.281 kB / 449.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1746, allocations: 40.38 kB / 449.3 MB, free: 51.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.1747, allocations: 0 / 449.3 MB, free: 51.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001749/0.1764, allocations: 1.78 MB / 451.1 MB, free: 50.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1764, allocations: 91.28 kB / 451.2 MB, free: 50.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1767, allocations: 426 kB / 451.6 MB, free: 50.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1767, allocations: 39.48 kB / 451.6 MB, free: 50.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1768, allocations: 334.8 kB / 452 MB, free: 50.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.1769, allocations: 210.1 kB / 452.2 MB, free: 49.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.177, allocations: 151.3 kB / 452.3 MB, free: 49.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.1771, allocations: 367.2 kB / 452.7 MB, free: 49.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.1773, allocations: 377.1 kB / 453 MB, free: 49.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1777, allocations: 0.5965 MB / 453.6 MB, free: 48.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.1784, allocations: 1.066 MB / 454.7 MB, free: 48.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1784, allocations: 6.656 kB / 454.7 MB, free: 48.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002161/0.1806, allocations: 1.982 MB / 456.7 MB, free: 47.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1806, allocations: 8.219 kB / 456.7 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1806, allocations: 9.75 kB / 456.7 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.1817, allocations: 0.944 MB / 457.7 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1819, allocations: 115.5 kB / 457.8 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/0.187, allocations: 7.924 MB / 465.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1872, allocations: 38.58 kB / 465.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.1872, allocations: 43.84 kB / 465.8 MB, free: 43.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.1874, allocations: 252.1 kB / 466 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.1874, allocations: 50.92 kB / 466.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.188, allocations: 0.7253 MB / 466.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.188, allocations: 6.531 kB / 466.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.188, allocations: 1.5 kB / 466.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.188, allocations: 6.766 kB / 466.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.1892, allocations: 1.426 MB / 468.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1893, allocations: 96 / 468.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.1897, allocations: 192.7 kB / 468.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1897, allocations: 4.469 kB / 468.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.1898, allocations: 30.98 kB / 468.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1898, allocations: 3.422 kB / 468.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1898, allocations: 3.156 kB / 468.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.1905, allocations: 0.9958 MB / 469.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1905, allocations: 49.7 kB / 469.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.1906, allocations: 26.67 kB / 469.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1907, allocations: 35.58 kB / 469.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1908, allocations: 33.36 kB / 469.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1908, allocations: 15.03 kB / 469.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1909, allocations: 282.6 kB / 469.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1909, allocations: 2.906 kB / 469.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.1913, allocations: 212.3 kB / 470.1 MB, free: 41.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008398/0.1922, allocations: 1.558 MB / 471.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1934, allocations: 1.414 MB / 473.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1934, allocations: 0 / 473.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.1937, allocations: 297.7 kB / 473.4 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1941, allocations: 129 kB / 473.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/0.2022, allocations: 9.266 MB / 482.8 MB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2024, allocations: 393.6 kB / 483.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.2027, allocations: 201.5 kB / 483.3 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.203, allocations: 236.4 kB / 483.6 MB, free: 34.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.203, allocations: 0 / 483.6 MB, free: 34.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.2352, allocations: 18.85 MB / 0.4907 GB, free: 30.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.46, allocations: 7.266 kB / 0.4907 GB, free: 30.25 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.648268476128578] Failed to read output from testmodel.py, exit status != 0: 7.549797737970948 7.555223447 7.542068416 Calling exit ...