Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008466/0.0008466, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.000911/0.000911, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8922/0.8922, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2208/0.2208, allocations: 29.41 MB / 290.1 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 430.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.664e-05, allocations: 6.781 kB / 430.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004575/0.004602, allocations: 4.313 MB / 434.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.006251, allocations: 1.394 MB / 435.9 MB, free: 7.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.006412, allocations: 19.88 kB / 435.9 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.007141, allocations: 362.4 kB / 436.3 MB, free: 7.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.007506, allocations: 262.5 kB / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.007909, allocations: 263.1 kB / 436.8 MB, free: 7.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.008277, allocations: 0.5728 MB / 437.4 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.008567, allocations: 221.5 kB / 437.6 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.008959, allocations: 354.9 kB / 437.9 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.009249, allocations: 343.2 kB / 438.3 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.00929, allocations: 40 kB / 438.3 MB, free: 5.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.009548, allocations: 227.5 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.0097, allocations: 255.3 kB / 438.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.009822, allocations: 179.6 kB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.01032, allocations: 0.7049 MB / 439.6 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01032, allocations: 7.938 kB / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01032, allocations: 0 / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01033, allocations: 0 / 439.7 MB, free: 4.141 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.0008519/0.01118, allocations: 0.6978 MB / 440.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.01122, allocations: 15.98 kB / 440.4 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.01128, allocations: 90.69 kB / 440.5 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.0117, allocations: 124.5 kB / 440.6 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.01215, allocations: 363.9 kB / 440.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01217, allocations: 29.38 kB / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.01228, allocations: 56.67 kB / 441 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.01308, allocations: 0.6803 MB / 441.7 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.0131, allocations: 0 / 441.7 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.01312, allocations: 16 kB / 441.7 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.64e-05/0.01322, allocations: 52.97 kB / 441.8 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.01385, allocations: 0.6596 MB / 442.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1692/0.1831, allocations: 2.303 MB / 444.7 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1835, allocations: 323.9 kB / 445 MB, free: 53.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.1836, allocations: 232 kB / 445.3 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1837, allocations: 3.438 kB / 445.3 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.1837, allocations: 37.94 kB / 445.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.1837, allocations: 0 / 445.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.001397/0.1851, allocations: 1.405 MB / 446.7 MB, free: 52.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1851, allocations: 82.33 kB / 446.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1853, allocations: 291.2 kB / 447.1 MB, free: 52.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1853, allocations: 32.67 kB / 447.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1854, allocations: 252.5 kB / 447.4 MB, free: 52.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.1854, allocations: 167.3 kB / 447.5 MB, free: 51.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.1855, allocations: 92.31 kB / 447.6 MB, free: 51.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.1855, allocations: 352.8 kB / 448 MB, free: 51.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1857, allocations: 220.6 kB / 448.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1859, allocations: 361.3 kB / 448.5 MB, free: 51.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.1864, allocations: 0.6287 MB / 449.2 MB, free: 50.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1864, allocations: 2.844 kB / 449.2 MB, free: 50.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006688/0.1871, allocations: 0.7196 MB / 449.9 MB, free: 50.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1871, allocations: 6.219 kB / 449.9 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004453/0.1875, allocations: 0.5251 MB / 450.4 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.1877, allocations: 80.2 kB / 450.5 MB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1879, allocations: 108.1 kB / 450.6 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/0.1887, allocations: 1.601 MB / 452.2 MB, free: 49.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1888, allocations: 38.69 kB / 452.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.1889, allocations: 20.44 kB / 452.2 MB, free: 49.11 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.0001401/0.189, allocations: 219.8 kB / 452.5 MB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.189, allocations: 32.09 kB / 452.5 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.1895, allocations: 0.567 MB / 453.1 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.1895, allocations: 15.8 kB / 453.1 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1895, allocations: 0 / 453.1 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1895, allocations: 2.906 kB / 453.1 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009543/0.1905, allocations: 1.14 MB / 454.2 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1905, allocations: 0 / 454.2 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1907, allocations: 83.44 kB / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1907, allocations: 3.375 kB / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1907, allocations: 14.62 kB / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1907, allocations: 7.031 kB / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1907, allocations: 7.219 kB / 454.3 MB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.1914, allocations: 0.9267 MB / 455.3 MB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.1914, allocations: 32.11 kB / 455.3 MB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.1914, allocations: 18.25 kB / 455.3 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1915, allocations: 16.53 kB / 455.3 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1916, allocations: 29.09 kB / 455.4 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1916, allocations: 15.09 kB / 455.4 MB, free: 47.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.1917, allocations: 202.2 kB / 455.6 MB, free: 47.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1917, allocations: 0 / 455.6 MB, free: 47.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.192, allocations: 120 kB / 455.7 MB, free: 47.52 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.0008112/0.1928, allocations: 1.503 MB / 457.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.1934, allocations: 0.6386 MB / 457.8 MB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1934, allocations: 0 / 457.8 MB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1935, allocations: 239.7 kB / 458.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1939, allocations: 78.31 kB / 458.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1969, allocations: 4.51 MB / 462.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.197, allocations: 281.2 kB / 462.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1972, allocations: 127.6 kB / 463 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1973, allocations: 148.9 kB / 463.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1973, allocations: 0 / 463.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2161, allocations: 9.465 MB / 472.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.23, allocations: 6.328 kB / 472.7 MB, free: 41.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.145380766130984]