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.0009064/0.0009065, allocations: 93.27 kB / 16.96 MB, free: 6.41 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.000919/0.000919, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.687/1.687, allocations: 205.4 MB / 224 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.1835/0.1835, allocations: 38.05 MB / 310.3 MB, free: 6.031 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.0005314/0.0005314, allocations: 15.12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2995, allocations: 56.32 MB / 433.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.00737/0.3069, allocations: 9.808 MB / 443.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006123/0.3131, allocations: 3.516 MB / 446.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3143, allocations: 67.56 kB / 446.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.3152, allocations: 317.7 kB / 447.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.317, allocations: 0.7307 MB / 447.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.3189, allocations: 0.7096 MB / 448.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.3206, allocations: 1.945 MB / 450.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.3224, allocations: 1.321 MB / 451.9 MB, free: 476 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.3234, allocations: 0.5911 MB / 452.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.3247, allocations: 0.9154 MB / 453.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3249, allocations: 52 kB / 453.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008719/0.3257, allocations: 307.5 kB / 453.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007978/0.3266, allocations: 0.6196 MB / 454.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.327, allocations: 265 kB / 454.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.3285, allocations: 1.329 MB / 455.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3285, allocations: 0 / 455.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3286, allocations: 8 kB / 456 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3286, allocations: 0 / 456 MB, free: 12.38 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.00274/0.3313, allocations: 1.405 MB / 457.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3314, allocations: 8.031 kB / 457.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.3328, allocations: 270 kB / 457.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3342, allocations: 0.8199 MB / 458.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.3343, allocations: 86.33 kB / 458.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.3346, allocations: 155.8 kB / 458.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.3373, allocations: 1.846 MB / 460.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.3374, allocations: 15.88 kB / 460.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.3376, allocations: 51.98 kB / 460.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.3379, allocations: 98.16 kB / 460.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.3403, allocations: 1.484 MB / 462.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.3522, allocations: 8.292 MB / 470.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.354, allocations: 1.162 MB / 471.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.3547, allocations: 484 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.3548, allocations: 20.64 kB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3548, allocations: 39.22 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/0.3548, allocations: 0 / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.004005/0.3588, allocations: 2.437 MB / 474.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3589, allocations: 85.77 kB / 474.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.3598, allocations: 0.8096 MB / 475.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.3599, allocations: 41.7 kB / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.3604, allocations: 0.688 MB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.3606, allocations: 303.7 kB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.3607, allocations: 24 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3609, allocations: 418.7 kB / 477 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.3615, allocations: 443.8 kB / 477.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3626, allocations: 1.005 MB / 478.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.3635, allocations: 0.6353 MB / 479 MB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3635, allocations: 7.938 kB / 479 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002938/0.3665, allocations: 1.757 MB / 480.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.3665, allocations: 16.03 kB / 480.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00162/0.3682, allocations: 0.9842 MB / 481.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.369, allocations: 250.3 kB / 482 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/0.37, allocations: 307.5 kB / 482.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.3745, allocations: 4.791 MB / 487.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/0.3754, allocations: 55.89 kB / 487.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.3756, allocations: 68 kB / 487.2 MB, free: 11.5 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 (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.0007196/0.3763, allocations: 429 kB / 487.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.3764, allocations: 102.7 kB / 487.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.378, allocations: 0.957 MB / 488.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.378, allocations: 8 kB / 488.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.378, allocations: 3.938 kB / 488.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3781, allocations: 7.984 kB / 488.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.3816, allocations: 2.115 MB / 490.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.3817, allocations: 4 kB / 490.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.3825, allocations: 187.7 kB / 491 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.3825, allocations: 4 kB / 491 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.3826, allocations: 23.98 kB / 491.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.3826, allocations: 11.94 kB / 491.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3826, allocations: 4.188 kB / 491.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.3846, allocations: 1.4 MB / 492.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3848, allocations: 167.8 kB / 492.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3849, allocations: 23.98 kB / 492.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.3853, allocations: 19.98 kB / 492.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3854, allocations: 56.53 kB / 492.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.3854, allocations: 24.14 kB / 492.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.3861, allocations: 0.5341 MB / 493.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3861, allocations: 4 kB / 493.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001098/0.3872, allocations: 296 kB / 493.6 MB, free: 4.988 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 (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.0001727/0.3874, allocations: 131.1 kB / 493.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.3896, allocations: 1.45 MB / 495.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3896, allocations: 0 / 495.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.3901, allocations: 413 kB / 495.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.391, allocations: 180.1 kB / 495.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.3956, allocations: 3.412 MB / 499.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.3965, allocations: 1.247 MB / 0.4887 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.3968, allocations: 91.42 kB / 0.4888 GB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3968, allocations: 4 kB / 0.4888 GB, free: 13.95 MB / 382.1 MB Notification: Performance of Templates: time 0.03022/0.427, allocations: 20.2 MB / 0.5085 GB, free: 9.699 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++ 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_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