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.0009285/0.0009286, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001184/0.001184, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.806/1.806, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2153/0.2153, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0005539/0.0005541, allocations: 12 kB / 377.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3205, allocations: 56.33 MB / 434.1 MB, free: 18.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008731/0.3293, allocations: 8.761 MB / 442.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.335, allocations: 2.856 MB / 445.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.3361, allocations: 59.62 kB / 445.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.3369, allocations: 214.5 kB / 446 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.3381, allocations: 477.9 kB / 446.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3392, allocations: 403.3 kB / 446.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3405, allocations: 1.937 MB / 448.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.342, allocations: 1.109 MB / 449.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.3426, allocations: 445.8 kB / 450.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.3434, allocations: 0.6501 MB / 451 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.3435, allocations: 39.94 kB / 451 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.3439, allocations: 199.6 kB / 451.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003334/0.3443, allocations: 442.8 kB / 451.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.3447, allocations: 0.5068 MB / 452.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.3455, allocations: 0.9196 MB / 453.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3455, allocations: 0 / 453.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3455, allocations: 0 / 453.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3455, allocations: 0 / 453.1 MB, free: 15.62 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.002145/0.3477, allocations: 1.135 MB / 454.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3477, allocations: 12.03 kB / 454.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008945/0.3486, allocations: 163.5 kB / 454.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3498, allocations: 0.692 MB / 455.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.3499, allocations: 62.38 kB / 455.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3501, allocations: 88.11 kB / 455.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3519, allocations: 1.167 MB / 456.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.352, allocations: 15.92 kB / 456.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.3521, allocations: 32 kB / 456.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3522, allocations: 57.98 kB / 456.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3536, allocations: 0.921 MB / 457.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005702/0.3593, allocations: 4.807 MB / 462.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3606, allocations: 0.6757 MB / 462.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/0.3612, allocations: 375.8 kB / 463.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.3613, allocations: 12.48 kB / 463.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/0.362, allocations: 439.8 kB / 463.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.825e-06/0.362, allocations: 0 / 463.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.005459/0.3674, allocations: 2.459 MB / 466.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.3676, allocations: 166.8 kB / 466.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.3683, allocations: 0.5978 MB / 466.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3684, allocations: 41.64 kB / 467 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.3688, allocations: 486.6 kB / 467.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.369, allocations: 228.9 kB / 467.7 MB, free: 468 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.3691, allocations: 73.69 kB / 467.8 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3694, allocations: 386.8 kB / 468.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.3698, allocations: 289.8 kB / 468.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.3705, allocations: 0.5563 MB / 469 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3717, allocations: 0.9495 MB / 469.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3717, allocations: 7.938 kB / 469.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00203/0.3737, allocations: 1.223 MB / 471.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.3738, allocations: 37.7 kB / 471.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3738, allocations: 8 kB / 471.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.3749, allocations: 350.3 kB / 471.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.3754, allocations: 151.7 kB / 471.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.3817, allocations: 4.945 MB / 476.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.3823, allocations: 35.94 kB / 476.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.3824, allocations: 43.98 kB / 476.7 MB, free: 6.824 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.0006768/0.383, allocations: 367 kB / 477.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3832, allocations: 71.16 kB / 477.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.3853, allocations: 1.04 MB / 478.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3853, allocations: 8 kB / 478.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3853, allocations: 4 kB / 478.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.3854, allocations: 7.922 kB / 478.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.3889, allocations: 2.063 MB / 480.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.3889, allocations: 8 kB / 480.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3892, allocations: 72.06 kB / 480.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008913/0.3901, allocations: 317.6 kB / 480.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.3901, allocations: 16 kB / 480.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/0.3968, allocations: 4.88 MB / 485.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3969, allocations: 8 kB / 485.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.399, allocations: 1.119 MB / 486.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.3993, allocations: 144.2 kB / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.3994, allocations: 19.98 kB / 486.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3998, allocations: 19.94 kB / 486.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.4, allocations: 60.41 kB / 486.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.4, allocations: 19.94 kB / 486.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006753/0.4007, allocations: 427 kB / 487.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4007, allocations: 0 / 487.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4019, allocations: 268 kB / 487.6 MB, free: 11.43 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.0002276/0.4021, allocations: 122.6 kB / 487.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.4042, allocations: 1.136 MB / 488.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.4043, allocations: 384 / 488.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.4055, allocations: 0.7672 MB / 489.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4067, allocations: 167.5 kB / 489.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.4108, allocations: 2.246 MB / 492 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.4119, allocations: 1.103 MB / 493.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4121, allocations: 59.36 kB / 493.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4121, allocations: 0 / 493.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of Templates: time 0.02344/0.4355, allocations: 16.89 MB / 0.4981 GB, free: 4.77 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