Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.001011/0.001011, 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.0009045/0.0009045, 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.187/1.187, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.157/0.157, allocations: 38 MB / 309.2 MB, free: 6.242 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.00117/0.00117, allocations: 67.91 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1966, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007626/0.2043, allocations: 10.98 MB / 441.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2088, allocations: 3.755 MB / 445.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.2094, allocations: 79.5 kB / 445.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.2113, allocations: 1.007 MB / 446.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.2121, allocations: 0.5873 MB / 446.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2133, allocations: 0.655 MB / 447.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.2145, allocations: 2.46 MB / 450 MB, free: 200 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2156, allocations: 0.8808 MB / 450.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006895/0.2163, allocations: 0.6223 MB / 451.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.2173, allocations: 0.9892 MB / 452.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2175, allocations: 76 kB / 452.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.2182, allocations: 471.2 kB / 453.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.2187, allocations: 0.6391 MB / 453.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.2193, allocations: 0.6762 MB / 454.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2204, allocations: 1.341 MB / 455.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2204, allocations: 0 / 455.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2204, allocations: 0 / 455.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2205, allocations: 0 / 455.7 MB, free: 10.47 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002535/0.223, allocations: 1.643 MB / 457.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2231, allocations: 16.03 kB / 457.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2245, allocations: 270.9 kB / 457.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2258, allocations: 0.8363 MB / 458.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.2258, allocations: 90.7 kB / 458.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/0.2261, allocations: 148.1 kB / 458.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.2284, allocations: 1.858 MB / 460.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.2285, allocations: 11.84 kB / 460.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2286, allocations: 52 kB / 460.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002752/0.2289, allocations: 98.16 kB / 460.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.2309, allocations: 1.491 MB / 462.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007658/0.2386, allocations: 8.288 MB / 470.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.2399, allocations: 1.175 MB / 471.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.2405, allocations: 496 kB / 472.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.2406, allocations: 12.64 kB / 472.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2406, allocations: 47.14 kB / 472.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.2406, allocations: 0 / 472.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003416/0.244, allocations: 2.437 MB / 474.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.2441, allocations: 93.69 kB / 474.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.2449, allocations: 0.8135 MB / 475.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.2449, allocations: 49.62 kB / 475.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.2453, allocations: 0.6802 MB / 476.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2456, allocations: 311.8 kB / 476.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.2459, allocations: 255.4 kB / 476.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.246, allocations: 414.7 kB / 477.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.2466, allocations: 451.7 kB / 477.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/0.2476, allocations: 1.001 MB / 478.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.2493, allocations: 1.592 MB / 480.3 MB, free: 500 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2493, allocations: 4 kB / 480.3 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002652/0.2519, allocations: 1.768 MB / 482.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.252, allocations: 12 kB / 482.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001572/0.2535, allocations: 0.9998 MB / 483.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008113/0.2544, allocations: 246.3 kB / 483.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.2553, allocations: 311.5 kB / 483.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/0.2594, allocations: 4.786 MB / 488.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/0.2601, allocations: 56.02 kB / 488.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.2602, allocations: 76.16 kB / 488.5 MB, free: 7.805 MB / 366.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005802/0.2608, allocations: 437 kB / 488.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2609, allocations: 102.7 kB / 489.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2623, allocations: 0.9493 MB / 490 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2623, allocations: 8 kB / 490 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2623, allocations: 0 / 490 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2623, allocations: 3.984 kB / 490 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.2655, allocations: 2.127 MB / 492.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2655, allocations: 7.938 kB / 492.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.2664, allocations: 187.7 kB / 492.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.2664, allocations: 7.984 kB / 492.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.2664, allocations: 20 kB / 492.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2664, allocations: 8 kB / 492.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2664, allocations: 3.938 kB / 492.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2681, allocations: 1.397 MB / 493.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.2683, allocations: 163.9 kB / 493.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2684, allocations: 24 kB / 493.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.2687, allocations: 27.98 kB / 494 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.2688, allocations: 52.52 kB / 494 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.2689, allocations: 24.09 kB / 494.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005613/0.2694, allocations: 0.5458 MB / 494.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2694, allocations: 0 / 494.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008816/0.2703, allocations: 296 kB / 494.9 MB, free: 1.293 MB / 366.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 (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.000148/0.2705, allocations: 131 kB / 495 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.2724, allocations: 1.451 MB / 496.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2724, allocations: 3.938 kB / 496.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.2729, allocations: 411.4 kB / 496.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.2737, allocations: 176.2 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.2775, allocations: 3.363 MB / 0.4887 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.2783, allocations: 1.251 MB / 0.4899 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.2786, allocations: 91.42 kB / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.2786, allocations: 0 / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of Templates: time 0.02177/0.3004, allocations: 20.28 MB / 0.5098 GB, free: 5.977 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.AC3ph.Transmission.VoltageStabilityCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.o] Error 1