Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009313, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1573/0.1573, allocations: 37.99 MB / 309.2 MB, free: 6.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.86 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1848, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006951/0.1918, allocations: 9.232 MB / 439.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.196, allocations: 2.895 MB / 442.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.1965, allocations: 59.62 kB / 442.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.1982, allocations: 0.8042 MB / 443.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007762/0.199, allocations: 477.9 kB / 444 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.1998, allocations: 403.3 kB / 444.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.2008, allocations: 1.941 MB / 446.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.2015, allocations: 0.6617 MB / 447 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.2019, allocations: 477.8 kB / 447.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.2025, allocations: 0.7086 MB / 448.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.2026, allocations: 52 kB / 448.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.2029, allocations: 203.7 kB / 448.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.2032, allocations: 478.7 kB / 448.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.2036, allocations: 0.4935 MB / 449.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.2042, allocations: 0.9355 MB / 450.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2042, allocations: 4 kB / 450.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2042, allocations: 0 / 450.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.2042, allocations: 4 kB / 450.3 MB, free: 15.95 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002105/0.2063, allocations: 1.306 MB / 451.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2064, allocations: 12.03 kB / 451.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.2072, allocations: 163.5 kB / 451.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2082, allocations: 0.692 MB / 452.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.2083, allocations: 58.38 kB / 452.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2084, allocations: 92.11 kB / 452.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.21, allocations: 1.175 MB / 453.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2101, allocations: 4 kB / 453.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.2102, allocations: 36 kB / 453.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/0.2102, allocations: 57.97 kB / 453.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2116, allocations: 0.9287 MB / 454.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.2166, allocations: 4.792 MB / 459.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2177, allocations: 0.68 MB / 460.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.2182, allocations: 379.8 kB / 460.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.2183, allocations: 12.55 kB / 460.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005773/0.2189, allocations: 439.7 kB / 461.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 1.793e-06/0.2189, allocations: 0 / 461.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.004714/0.2236, allocations: 2.436 MB / 463.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.2237, allocations: 166.7 kB / 463.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.2243, allocations: 0.6017 MB / 464.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.2244, allocations: 37.7 kB / 464.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2247, allocations: 494.6 kB / 464.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.2249, allocations: 228.8 kB / 465 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.2251, allocations: 154.6 kB / 465.2 MB, free: 476 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2253, allocations: 386.8 kB / 465.6 MB, free: 80 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.2257, allocations: 285.9 kB / 465.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.2263, allocations: 0.5563 MB / 466.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2275, allocations: 0.9533 MB / 467.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2275, allocations: 3.938 kB / 467.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001936/0.2294, allocations: 1.216 MB / 468.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.2295, allocations: 41.69 kB / 468.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.2295, allocations: 15.98 kB / 468.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.2305, allocations: 341.4 kB / 469 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.231, allocations: 147.7 kB / 469.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/0.2362, allocations: 4.941 MB / 474 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.2366, allocations: 40.03 kB / 474.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.2367, allocations: 36 kB / 474.1 MB, free: 6.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003756/0.2371, allocations: 370.8 kB / 474.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.2372, allocations: 75.06 kB / 474.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2388, allocations: 1.036 MB / 475.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2389, allocations: 12 kB / 475.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2389, allocations: 4 kB / 475.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2389, allocations: 7.922 kB / 475.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.2417, allocations: 2.055 MB / 477.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2417, allocations: 7.938 kB / 477.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.242, allocations: 75.89 kB / 477.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007722/0.2428, allocations: 318 kB / 478.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.2428, allocations: 12 kB / 478.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/0.2476, allocations: 4.878 MB / 482.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2476, allocations: 0 / 482.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.2491, allocations: 1.119 MB / 484.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2493, allocations: 144.2 kB / 484.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.2494, allocations: 15.91 kB / 484.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.2497, allocations: 19.98 kB / 484.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2498, allocations: 60.28 kB / 484.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.2498, allocations: 23.98 kB / 484.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004044/0.2502, allocations: 419 kB / 484.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2502, allocations: 4 kB / 484.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.251, allocations: 268 kB / 485 MB, free: 11.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.2512, allocations: 111.2 kB / 485.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2527, allocations: 1.144 MB / 486.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2527, allocations: 448 / 486.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.2536, allocations: 0.7596 MB / 487 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.2544, allocations: 171.9 kB / 487.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.257, allocations: 2.236 MB / 489.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.2576, allocations: 1.099 MB / 490.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2577, allocations: 59.42 kB / 490.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2577, allocations: 0 / 490.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01701/0.2748, allocations: 16.97 MB / 0.4956 GB, free: 4.832 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyStateCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyStateCalcHelperMain.o] Error 1