Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.0008698/0.0008698, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008901/0.0008901, 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.8935/0.8935, 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.2345/0.2345, allocations: 29.4 MB / 290.1 MB, free: 2.465 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.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.266e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006137/0.006149, allocations: 8.282 MB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.009874, allocations: 2.885 MB / 441.4 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.01026, allocations: 43.62 kB / 441.4 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.01159, allocations: 1.056 MB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009684/0.01256, allocations: 0.6446 MB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1669/0.1795, allocations: 0.7604 MB / 443.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.1815, allocations: 1.659 MB / 445.6 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.1824, allocations: 0.6875 MB / 446.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009321/0.1833, allocations: 0.9799 MB / 447.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.1841, allocations: 0.8982 MB / 448.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.1843, allocations: 106.6 kB / 448.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.1851, allocations: 493.2 kB / 448.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.1854, allocations: 0.6998 MB / 449.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.1858, allocations: 0.4971 MB / 449.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1872, allocations: 1.85 MB / 451.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1872, allocations: 3.25 kB / 451.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1872, allocations: 3.844 kB / 451.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1873, allocations: 0 / 451.8 MB, free: 42.75 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.001898/0.1892, allocations: 1.595 MB / 453.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1892, allocations: 16.23 kB / 453.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.1894, allocations: 193.4 kB / 453.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.1913, allocations: 402.2 kB / 454 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1925, allocations: 0.8091 MB / 454.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.1925, allocations: 87.92 kB / 454.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.1927, allocations: 163.7 kB / 455 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1943, allocations: 1.853 MB / 456.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.1944, allocations: 6.125 kB / 456.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.1944, allocations: 48.97 kB / 456.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.1946, allocations: 101.1 kB / 457 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.196, allocations: 1.48 MB / 458.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.2003, allocations: 7.904 MB / 466.4 MB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.2009, allocations: 0.6617 MB / 467.1 MB, free: 33.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.2013, allocations: 447.2 kB / 467.5 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.2013, allocations: 20.81 kB / 467.5 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2013, allocations: 38.47 kB / 467.6 MB, free: 33.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.2013, allocations: 0 / 467.6 MB, free: 33.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.00212/0.2035, allocations: 2.394 MB / 469.9 MB, free: 32.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2035, allocations: 87.58 kB / 470 MB, free: 32.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.204, allocations: 0.8497 MB / 470.9 MB, free: 32.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.204, allocations: 40.95 kB / 470.9 MB, free: 32.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2042, allocations: 0.6986 MB / 471.6 MB, free: 31.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2043, allocations: 312.8 kB / 471.9 MB, free: 31.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2045, allocations: 254.4 kB / 472.2 MB, free: 31.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.2046, allocations: 419.2 kB / 472.6 MB, free: 30.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.205, allocations: 455.8 kB / 473 MB, free: 30.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.2055, allocations: 1.004 MB / 474 MB, free: 29.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2065, allocations: 1.587 MB / 475.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.2065, allocations: 5.969 kB / 475.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001616/0.2082, allocations: 1.769 MB / 477.4 MB, free: 28.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2082, allocations: 12.47 kB / 477.4 MB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009149/0.2091, allocations: 0.9788 MB / 478.4 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.2095, allocations: 251.3 kB / 478.6 MB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.21, allocations: 310.9 kB / 478.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.2122, allocations: 4.839 MB / 483.8 MB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.2126, allocations: 53.58 kB / 483.8 MB, free: 23.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.2127, allocations: 71.81 kB / 483.9 MB, free: 23.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * 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.0003742/0.2131, allocations: 432.5 kB / 484.3 MB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.2132, allocations: 101.1 kB / 484.4 MB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009055/0.2141, allocations: 0.9599 MB / 485.4 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2141, allocations: 8 kB / 485.4 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2141, allocations: 5.375 kB / 485.4 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2141, allocations: 3.422 kB / 485.4 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.2163, allocations: 2.016 MB / 487.4 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2163, allocations: 5.062 kB / 487.4 MB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.2168, allocations: 191.2 kB / 487.6 MB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2168, allocations: 5.375 kB / 487.6 MB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.2168, allocations: 24.58 kB / 487.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2168, allocations: 7.969 kB / 487.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2168, allocations: 1.375 kB / 487.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.218, allocations: 1.402 MB / 489 MB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.2181, allocations: 90.88 kB / 489.1 MB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.2181, allocations: 31.62 kB / 489.2 MB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2183, allocations: 24.86 kB / 489.2 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.2184, allocations: 56.66 kB / 489.2 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.2184, allocations: 25.25 kB / 489.3 MB, free: 21.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.2188, allocations: 0.5367 MB / 489.8 MB, free: 21.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2188, allocations: 0 / 489.8 MB, free: 21.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006417/0.2195, allocations: 300.6 kB / 490.1 MB, free: 21.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * 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.001263/0.2207, allocations: 1.968 MB / 492.1 MB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.222, allocations: 1.407 MB / 493.5 MB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.222, allocations: 1.094 kB / 493.5 MB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.2223, allocations: 385.4 kB / 493.9 MB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.2229, allocations: 181.8 kB / 494 MB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.2319, allocations: 10.13 MB / 0.4923 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.2326, allocations: 0.6512 MB / 0.493 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.2337, allocations: 419.9 kB / 0.4934 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.2342, allocations: 467.8 kB / 0.4938 GB, free: 13.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2342, allocations: 4 kB / 0.4938 GB, free: 13.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.2722, allocations: 22.14 MB / 0.5155 GB, free: 14.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.78, allocations: 7.156 kB / 0.5155 GB, free: 14.01 MB / 426.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.633819532580674] Failed to read output from testmodel.py, exit status != 0: 7.871863367967308 7.880435697 7.691439639 Calling exit ...