Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.0008435/0.0008435, 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.0009093/0.0009093, 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.8911/0.8911, 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.2133/0.2133, allocations: 29.4 MB / 290.1 MB, free: 2.438 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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.548e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.0047/0.004726, allocations: 4.3 MB / 434.5 MB, free: 9.258 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.00686, allocations: 1.472 MB / 436 MB, free: 7.781 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.007096, allocations: 15.88 kB / 436 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.007892, allocations: 286.5 kB / 436.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.008595, allocations: 302.3 kB / 436.6 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.009259, allocations: 263.1 kB / 436.8 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.009878, allocations: 0.6195 MB / 437.4 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.01021, allocations: 199.9 kB / 437.6 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.01071, allocations: 363 kB / 438 MB, free: 5.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.01107, allocations: 359.1 kB / 438.3 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.01111, allocations: 39.94 kB / 438.4 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.0115, allocations: 235.5 kB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.01169, allocations: 239.4 kB / 438.8 MB, free: 4.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.01184, allocations: 175.6 kB / 439 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008227/0.01266, allocations: 0.7049 MB / 439.7 MB, free: 4.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01266, allocations: 3.938 kB / 439.7 MB, free: 4.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.01266, allocations: 8 kB / 439.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.01268, allocations: 3.938 kB / 439.7 MB, free: 4.004 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001017/0.01369, allocations: 0.7055 MB / 440.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.01373, allocations: 15.98 kB / 440.5 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.0138, allocations: 82.7 kB / 440.5 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.01429, allocations: 132.5 kB / 440.7 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.01476, allocations: 359.9 kB / 441 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.01478, allocations: 29.38 kB / 441 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.01489, allocations: 40.73 kB / 441.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.01555, allocations: 0.703 MB / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01556, allocations: 0 / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.01559, allocations: 15.98 kB / 441.8 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.01572, allocations: 72.94 kB / 441.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.01636, allocations: 0.6596 MB / 442.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1734/0.1897, allocations: 2.494 MB / 445 MB, free: 53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1901, allocations: 295.9 kB / 445.3 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1902, allocations: 197.7 kB / 445.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1903, allocations: 3.375 kB / 445.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1903, allocations: 33.53 kB / 445.6 MB, free: 52.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.1903, allocations: 0.9844 kB / 445.6 MB, free: 52.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001265/0.1916, allocations: 1.227 MB / 446.8 MB, free: 52.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1916, allocations: 87.23 kB / 446.9 MB, free: 52.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1918, allocations: 301.8 kB / 447.2 MB, free: 52.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1918, allocations: 29.97 kB / 447.2 MB, free: 52.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.1918, allocations: 257.6 kB / 447.4 MB, free: 51.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1919, allocations: 144.2 kB / 447.6 MB, free: 51.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.192, allocations: 87.31 kB / 447.7 MB, free: 51.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.192, allocations: 348.6 kB / 448 MB, free: 51.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1922, allocations: 190 kB / 448.2 MB, free: 51.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1924, allocations: 327.9 kB / 448.5 MB, free: 51.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.1928, allocations: 0.5483 MB / 449.1 MB, free: 50.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1928, allocations: 7.219 kB / 449.1 MB, free: 50.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006939/0.1934, allocations: 0.6833 MB / 449.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1935, allocations: 6.688 kB / 449.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004259/0.1939, allocations: 491.9 kB / 450.2 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.1941, allocations: 109.3 kB / 450.3 MB, free: 50.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1943, allocations: 82.98 kB / 450.4 MB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1957, allocations: 3.041 MB / 453.5 MB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1958, allocations: 24.7 kB / 453.5 MB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1958, allocations: 21.39 kB / 453.5 MB, free: 47.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.196, allocations: 211.9 kB / 453.7 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.1961, allocations: 44.27 kB / 453.8 MB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.1964, allocations: 466.9 kB / 454.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.1965, allocations: 13.69 kB / 454.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1965, allocations: 8.344 kB / 454.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1965, allocations: 3.234 kB / 454.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.1972, allocations: 0.9601 MB / 455.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1972, allocations: 9.219 kB / 455.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1974, allocations: 67.02 kB / 455.3 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1974, allocations: 3.594 kB / 455.3 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1974, allocations: 12 kB / 455.3 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1974, allocations: 3.125 kB / 455.3 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1974, allocations: 3.156 kB / 455.3 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.1979, allocations: 0.7458 MB / 456 MB, free: 46.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.198, allocations: 67.88 kB / 456.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.198, allocations: 7.219 kB / 456.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.1981, allocations: 14.48 kB / 456.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.1981, allocations: 27.53 kB / 456.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1982, allocations: 10.5 kB / 456.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1983, allocations: 211.4 kB / 456.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1983, allocations: 0 / 456.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000321/0.1986, allocations: 116 kB / 456.5 MB, free: 46.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0007682/0.1993, allocations: 1.313 MB / 457.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.2001, allocations: 0.682 MB / 458.5 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2001, allocations: 3.219 kB / 458.5 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2002, allocations: 191.6 kB / 458.7 MB, free: 44.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2006, allocations: 69.28 kB / 458.7 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.2036, allocations: 4.32 MB / 463.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2038, allocations: 273.8 kB / 463.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.2039, allocations: 104.7 kB / 463.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.204, allocations: 143.4 kB / 463.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/0.204, allocations: 0 / 463.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2246, allocations: 9.063 MB / 472.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.328, allocations: 6.406 kB / 472.6 MB, free: 40.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.136196642182767] Failed to read output from testmodel.py, exit status != 0: 7.415142833255231 7.422449766 7.40815897 Calling exit ...