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.001017/0.001016, allocations: 92.77 kB / 17.31 MB, free: 5.664 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.002041/0.002042, allocations: 176.6 kB / 18.21 MB, free: 5.242 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.848/1.848, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1936/0.1936, allocations: 38.04 MB / 310.7 MB, free: 5.914 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.0005481/0.0005482, allocations: 15.12 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3097, allocations: 56.32 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008585/0.3183, allocations: 10.47 MB / 444.6 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006516/0.3249, allocations: 3.713 MB / 448.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3262, allocations: 67.56 kB / 448.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.327, allocations: 258.2 kB / 448.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.3285, allocations: 0.5834 MB / 449.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3302, allocations: 0.6473 MB / 449.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.3323, allocations: 2.464 MB / 452.3 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.3346, allocations: 1.439 MB / 453.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.3358, allocations: 0.5676 MB / 454.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3371, allocations: 0.9307 MB / 455.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3373, allocations: 52 kB / 455.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.3383, allocations: 443.2 kB / 455.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.339, allocations: 0.6194 MB / 456.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.3398, allocations: 0.6506 MB / 457 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.3414, allocations: 1.321 MB / 458.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3414, allocations: 0 / 458.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.3414, allocations: 3.984 kB / 458.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.3414, allocations: 4 kB / 458.4 MB, free: 10.32 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.002836/0.3443, allocations: 1.397 MB / 459.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.3443, allocations: 8.031 kB / 459.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.346, allocations: 270.9 kB / 460 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.3476, allocations: 0.8402 MB / 460.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.3477, allocations: 86.7 kB / 461 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.3481, allocations: 159.9 kB / 461.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.3511, allocations: 1.858 MB / 463 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.3512, allocations: 7.938 kB / 463 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.3513, allocations: 55.94 kB / 463 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/0.3517, allocations: 94.16 kB / 463.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3542, allocations: 1.495 MB / 464.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.3647, allocations: 8.292 MB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.3662, allocations: 1.17 MB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.367, allocations: 492 kB / 474.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/0.367, allocations: 16.64 kB / 474.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.3671, allocations: 39.22 kB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/0.3671, allocations: 0 / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.004408/0.3715, allocations: 2.437 MB / 477 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.3716, allocations: 93.73 kB / 477.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3728, allocations: 0.8212 MB / 478 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.3728, allocations: 41.69 kB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.3735, allocations: 0.6841 MB / 478.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.3738, allocations: 299.8 kB / 479 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.374, allocations: 121.6 kB / 479.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3743, allocations: 414.7 kB / 479.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/0.3749, allocations: 451.7 kB / 479.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.376, allocations: 1.008 MB / 481 MB, free: 2.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.378, allocations: 1.585 MB / 482.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.378, allocations: 11.94 kB / 482.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003014/0.381, allocations: 1.771 MB / 484.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.3811, allocations: 15.98 kB / 484.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001685/0.3828, allocations: 0.9881 MB / 485.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/0.3836, allocations: 246.9 kB / 485.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.3846, allocations: 311.5 kB / 485.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/0.3891, allocations: 4.802 MB / 490.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.39, allocations: 51.89 kB / 490.7 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.3901, allocations: 68 kB / 490.8 MB, free: 8.043 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.0006621/0.3908, allocations: 437.1 kB / 491.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.3909, allocations: 102.7 kB / 491.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.3924, allocations: 0.957 MB / 492.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3924, allocations: 8 kB / 492.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3924, allocations: 0 / 492.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3925, allocations: 3.984 kB / 492.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.3959, allocations: 2.119 MB / 494.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3959, allocations: 0 / 494.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.3967, allocations: 192 kB / 494.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.3968, allocations: 4 kB / 494.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.3968, allocations: 27.98 kB / 494.6 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.3968, allocations: 7.938 kB / 494.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3968, allocations: 3.938 kB / 494.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3987, allocations: 1.397 MB / 496 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.399, allocations: 171.8 kB / 496.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3991, allocations: 23.98 kB / 496.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.3995, allocations: 23.98 kB / 496.2 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.3996, allocations: 56.52 kB / 496.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.3996, allocations: 28 kB / 496.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006541/0.4003, allocations: 0.538 MB / 496.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.4003, allocations: 0 / 496.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001107/0.4014, allocations: 299.9 kB / 497.2 MB, free: 1.52 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.0001757/0.4016, allocations: 123.3 kB / 497.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.4037, allocations: 1.458 MB / 498.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4038, allocations: 4.438 kB / 498.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006524/0.4044, allocations: 411.4 kB / 499.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4055, allocations: 180.1 kB / 499.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.41, allocations: 3.512 MB / 0.491 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009425/0.4109, allocations: 1.243 MB / 0.4923 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4112, allocations: 95.42 kB / 0.4924 GB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4112, allocations: 4 kB / 0.4924 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02576/0.437, allocations: 20.17 MB / 0.5121 GB, free: 6.156 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