Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.0007807/0.0007807, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.000804/0.000804, 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.8572/0.8572, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2286/0.2286, allocations: 29.41 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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.542e-05, allocations: 3.828 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.003905/0.00392, allocations: 4.311 MB / 434.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005647, allocations: 1.402 MB / 435.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.005823, allocations: 19.81 kB / 435.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.00651, allocations: 369.6 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.007039, allocations: 258.5 kB / 436.5 MB, free: 7.246 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.007661, allocations: 259.1 kB / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.008158, allocations: 0.5689 MB / 437.4 MB, free: 6.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.008467, allocations: 221.5 kB / 437.6 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.008846, allocations: 362.9 kB / 437.9 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.009177, allocations: 339.2 kB / 438.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.009223, allocations: 40 kB / 438.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.009763, allocations: 227.5 kB / 438.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.009931, allocations: 251.3 kB / 438.8 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.01006, allocations: 179.6 kB / 438.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.01062, allocations: 0.7088 MB / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01062, allocations: 3.938 kB / 439.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01062, allocations: 0 / 439.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.01063, allocations: 0 / 439.6 MB, free: 4.117 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009354/0.01157, allocations: 0.7017 MB / 440.4 MB, free: 3.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.0116, allocations: 15.98 kB / 440.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.01167, allocations: 86.7 kB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.01208, allocations: 128.5 kB / 440.6 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.01253, allocations: 363.9 kB / 440.9 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.01255, allocations: 33.36 kB / 441 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.01265, allocations: 48.7 kB / 441 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.01328, allocations: 0.6764 MB / 441.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01329, allocations: 4 kB / 441.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.01332, allocations: 19.98 kB / 441.7 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.01341, allocations: 52.95 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.01405, allocations: 0.6596 MB / 442.4 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.16/0.1741, allocations: 2.304 MB / 444.7 MB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1745, allocations: 327.4 kB / 445 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1746, allocations: 223.2 kB / 445.3 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1747, allocations: 8.531 kB / 445.3 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.1747, allocations: 33.91 kB / 445.3 MB, free: 53.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.444e-06/0.1747, allocations: 3.188 kB / 445.3 MB, free: 53.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.001381/0.1761, allocations: 1.405 MB / 446.7 MB, free: 52.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1761, allocations: 84.08 kB / 446.8 MB, free: 52.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1763, allocations: 292.3 kB / 447.1 MB, free: 52.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1763, allocations: 29.7 kB / 447.1 MB, free: 52.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.1764, allocations: 258.2 kB / 447.4 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.1764, allocations: 168.7 kB / 447.5 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.1765, allocations: 89.05 kB / 447.6 MB, free: 51.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.1765, allocations: 355.2 kB / 448 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1767, allocations: 218.7 kB / 448.2 MB, free: 51.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1769, allocations: 360.8 kB / 448.5 MB, free: 51.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1773, allocations: 0.6317 MB / 449.2 MB, free: 50.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1773, allocations: 0 / 449.2 MB, free: 50.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006395/0.178, allocations: 0.7239 MB / 449.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.178, allocations: 6.344 kB / 449.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004325/0.1784, allocations: 0.5214 MB / 450.4 MB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.1786, allocations: 73.23 kB / 450.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1788, allocations: 109.8 kB / 450.6 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007757/0.1796, allocations: 1.606 MB / 452.2 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1797, allocations: 35.25 kB / 452.2 MB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1797, allocations: 22.81 kB / 452.3 MB, free: 49.09 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1799, allocations: 214.8 kB / 452.5 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1799, allocations: 38.67 kB / 452.5 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.1804, allocations: 0.5674 MB / 453.1 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.1804, allocations: 13.08 kB / 453.1 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.1804, allocations: 2.906 kB / 453.1 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1804, allocations: 0 / 453.1 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009371/0.1813, allocations: 1.13 MB / 454.2 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1813, allocations: 0 / 454.2 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.1815, allocations: 87.17 kB / 454.3 MB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1815, allocations: 7.094 kB / 454.3 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1815, allocations: 11.22 kB / 454.3 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1815, allocations: 7.953 kB / 454.3 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1815, allocations: 3.25 kB / 454.3 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.1821, allocations: 0.924 MB / 455.3 MB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.1822, allocations: 38.64 kB / 455.3 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1822, allocations: 18.25 kB / 455.3 MB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1823, allocations: 22.75 kB / 455.3 MB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1823, allocations: 24.61 kB / 455.4 MB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1824, allocations: 16.88 kB / 455.4 MB, free: 47.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.1824, allocations: 201.1 kB / 455.6 MB, free: 47.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1824, allocations: 0 / 455.6 MB, free: 47.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.1827, allocations: 121 kB / 455.7 MB, free: 47.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * 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.0007722/0.1835, allocations: 1.508 MB / 457.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005337/0.184, allocations: 0.6355 MB / 457.8 MB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.184, allocations: 0 / 457.8 MB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1842, allocations: 243.5 kB / 458.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1845, allocations: 68.53 kB / 458.1 MB, free: 46.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.1874, allocations: 4.521 MB / 462.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1875, allocations: 271.2 kB / 462.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.1877, allocations: 128 kB / 463 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1878, allocations: 154.9 kB / 463.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1878, allocations: 0 / 463.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.2077, allocations: 9.448 MB / 472.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.07, allocations: 2.812 kB / 472.6 MB, free: 41.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.848395658656955] Failed to read output from testmodel.py, exit status != 0: 7.151589375920594 7.160836691 7.148180006 Calling exit ...