Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.0008377/0.0008377, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1736/0.1736, allocations: 38.1 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 12 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 59.15 MB / 459.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009871/0.1274, allocations: 9.813 MB / 469.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00706/0.1345, allocations: 3.476 MB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.136, allocations: 71.5 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.137, allocations: 313.8 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.1394, allocations: 0.7346 MB / 474.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1419, allocations: 0.7057 MB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.1454, allocations: 1.945 MB / 476.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.1481, allocations: 1.328 MB / 478.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1495, allocations: 0.5911 MB / 478.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1508, allocations: 0.9075 MB / 479.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.151, allocations: 52 kB / 479.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009068/0.1519, allocations: 315.5 kB / 480.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.1526, allocations: 0.6157 MB / 480.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.1529, allocations: 269 kB / 481 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1543, allocations: 1.313 MB / 482.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1544, allocations: 4 kB / 482.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1544, allocations: 0 / 482.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1544, allocations: 0 / 482.3 MB, free: 0.8906 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002732/0.1571, allocations: 1.416 MB / 483.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1572, allocations: 8.031 kB / 483.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.1587, allocations: 278 kB / 484 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.1602, allocations: 0.8121 MB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.1604, allocations: 94.27 kB / 484.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.1607, allocations: 147.9 kB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.1634, allocations: 1.843 MB / 486.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.1635, allocations: 7.938 kB / 486.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1636, allocations: 55.98 kB / 486.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.164, allocations: 98.16 kB / 487 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.1664, allocations: 1.484 MB / 488.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.176, allocations: 8.288 MB / 496.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.1776, allocations: 1.163 MB / 498 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.1784, allocations: 488.1 kB / 498.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.1784, allocations: 20.55 kB / 498.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1785, allocations: 43.16 kB / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/0.1785, allocations: 0 / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004006/0.1825, allocations: 2.429 MB / 0.4892 GB, free: 13.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1826, allocations: 89.7 kB / 0.4893 GB, free: 13.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.1835, allocations: 0.8134 MB / 0.4901 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.1836, allocations: 41.7 kB / 0.4901 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000527/0.1841, allocations: 0.6803 MB / 0.4908 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.1845, allocations: 311.8 kB / 0.4911 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.1845, allocations: 28 kB / 0.4911 GB, free: 11.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1847, allocations: 418.7 kB / 0.4915 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.1854, allocations: 443.7 kB / 0.4919 GB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1864, allocations: 0.9968 MB / 0.4929 GB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.1873, allocations: 0.6392 MB / 0.4935 GB, free: 8.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.1874, allocations: 4 kB / 0.4935 GB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003127/0.1905, allocations: 1.752 MB / 0.4952 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1905, allocations: 12 kB / 0.4953 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00162/0.1922, allocations: 0.9842 MB / 0.4962 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007854/0.193, allocations: 250.6 kB / 0.4965 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.194, allocations: 311.5 kB / 0.4968 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.1987, allocations: 4.794 MB / 0.5014 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.1995, allocations: 55.98 kB / 0.5015 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.1997, allocations: 71.98 kB / 0.5016 GB, free: 4 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2439/0.4436, allocations: 414.2 kB / 0.502 GB, free: 54.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.4438, allocations: 100.4 kB / 0.502 GB, free: 54.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.4455, allocations: 0.9578 MB / 0.503 GB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4456, allocations: 9.453 kB / 0.503 GB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4456, allocations: 1.094 kB / 0.503 GB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4456, allocations: 7.328 kB / 0.503 GB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.4494, allocations: 2.125 MB / 0.5051 GB, free: 54.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4494, allocations: 2.125 kB / 0.5051 GB, free: 54.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.4502, allocations: 190.3 kB / 0.5053 GB, free: 54.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.4502, allocations: 4.062 kB / 0.5053 GB, free: 54.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.4503, allocations: 24.42 kB / 0.5053 GB, free: 54.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.4503, allocations: 5.578 kB / 0.5053 GB, free: 54.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4503, allocations: 2.375 kB / 0.5053 GB, free: 54.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.4522, allocations: 1.397 MB / 0.5067 GB, free: 53.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.4524, allocations: 169.2 kB / 0.5068 GB, free: 53.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4525, allocations: 21.22 kB / 0.5068 GB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4529, allocations: 25.45 kB / 0.5069 GB, free: 53.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.453, allocations: 56.55 kB / 0.5069 GB, free: 53.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.453, allocations: 24.97 kB / 0.5069 GB, free: 53.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.4537, allocations: 0.533 MB / 0.5075 GB, free: 53.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4537, allocations: 96 / 0.5075 GB, free: 53.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001129/0.4549, allocations: 303.9 kB / 0.5078 GB, free: 53.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.455, allocations: 123.1 kB / 0.5079 GB, free: 53.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.4571, allocations: 1.451 MB / 0.5093 GB, free: 52.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4571, allocations: 0.9375 kB / 0.5093 GB, free: 52.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.4577, allocations: 412 kB / 0.5097 GB, free: 52.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.4585, allocations: 172.1 kB / 0.5098 GB, free: 52.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.4629, allocations: 3.407 MB / 0.5132 GB, free: 50.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.464, allocations: 1.245 MB / 0.5144 GB, free: 49.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.4644, allocations: 93.38 kB / 0.5145 GB, free: 49.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4644, allocations: 0 / 0.5145 GB, free: 49.56 MB / 382.1 MB Notification: Performance of Templates: time 0.02761/0.492, allocations: 20.2 MB / 0.5342 GB, free: 36.64 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.o] Error 1