Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008988/0.0008989, allocations: 92.55 kB / 17.31 MB, free: 6.539 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.00116/0.001159, allocations: 176 kB / 18.21 MB, free: 5.68 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.813/1.813, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.182/0.182, allocations: 38.06 MB / 310.7 MB, free: 5.895 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.0005566/0.0005566, allocations: 16.61 kB / 377.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3611, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004354/0.3656, allocations: 4.818 MB / 439 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3677, allocations: 1.52 MB / 440.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.368, allocations: 23.88 kB / 440.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.3683, allocations: 79.45 kB / 440.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.3688, allocations: 235 kB / 440.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3692, allocations: 147.8 kB / 441 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.3698, allocations: 0.8611 MB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.3706, allocations: 0.5515 MB / 442.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.3709, allocations: 203 kB / 442.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.3713, allocations: 275.1 kB / 442.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.3713, allocations: 20 kB / 442.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3716, allocations: 127.8 kB / 443 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3717, allocations: 183.5 kB / 443.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3719, allocations: 220.7 kB / 443.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.3722, allocations: 387 kB / 443.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3722, allocations: 0 / 443.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3722, allocations: 3.938 kB / 443.8 MB, free: 8.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3722, allocations: 0 / 443.8 MB, free: 8.988 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009243/0.3732, allocations: 0.6213 MB / 444.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3732, allocations: 8.031 kB / 444.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.3738, allocations: 92.23 kB / 444.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3743, allocations: 399.1 kB / 444.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3743, allocations: 25.38 kB / 444.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3744, allocations: 40.12 kB / 444.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.375, allocations: 488.8 kB / 445.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.375, allocations: 0 / 445.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3751, allocations: 12 kB / 445.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-05/0.3752, allocations: 28.98 kB / 445.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.3756, allocations: 351.7 kB / 445.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3773, allocations: 1.741 MB / 447.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3776, allocations: 149.1 kB / 447.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3777, allocations: 113.7 kB / 447.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3778, allocations: 7.938 kB / 447.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3778, allocations: 30.56 kB / 447.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3778, allocations: 0 / 447.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001239/0.379, allocations: 0.8893 MB / 448.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3791, allocations: 77.11 kB / 448.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.3793, allocations: 312.5 kB / 449.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3794, allocations: 25.7 kB / 449.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3795, allocations: 263.5 kB / 449.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3795, allocations: 63.19 kB / 449.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3796, allocations: 33.64 kB / 449.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.3797, allocations: 342.8 kB / 449.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3798, allocations: 100.2 kB / 449.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3799, allocations: 201.2 kB / 450.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.3803, allocations: 332.5 kB / 450.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3803, allocations: 0 / 450.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007013/0.381, allocations: 477.6 kB / 450.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.381, allocations: 8 kB / 450.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005098/0.3815, allocations: 320.3 kB / 451.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.382, allocations: 132.7 kB / 451.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3821, allocations: 60.06 kB / 451.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.3847, allocations: 2.201 MB / 453.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3849, allocations: 11.94 kB / 453.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3849, allocations: 16 kB / 453.6 MB, free: 14.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.3851, allocations: 193.7 kB / 453.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.3852, allocations: 23.72 kB / 453.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.3857, allocations: 269.3 kB / 454.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3857, allocations: 3.938 kB / 454.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3857, allocations: 4 kB / 454.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3857, allocations: 3.984 kB / 454.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3868, allocations: 0.7427 MB / 454.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3868, allocations: 0 / 454.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.387, allocations: 35.98 kB / 454.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3872, allocations: 36.83 kB / 454.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3872, allocations: 7.984 kB / 454.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3872, allocations: 8.062 kB / 454.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3872, allocations: 64 / 454.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.3878, allocations: 446.4 kB / 455.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.3879, allocations: 108.8 kB / 455.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.3879, allocations: 8 kB / 455.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3881, allocations: 15.92 kB / 455.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3881, allocations: 15.86 kB / 455.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3881, allocations: 8 kB / 455.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3884, allocations: 223 kB / 455.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3884, allocations: 0 / 455.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.3888, allocations: 84 kB / 455.8 MB, free: 12.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.389, allocations: 103.2 kB / 455.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.3897, allocations: 407.2 kB / 456.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3897, allocations: 0 / 456.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.3899, allocations: 181.9 kB / 456.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.3904, allocations: 61.17 kB / 456.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3919, allocations: 1.157 MB / 457.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3925, allocations: 0.838 MB / 458.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.3925, allocations: 23.44 kB / 458.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3925, allocations: 0 / 458.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of Templates: time 0.008374/0.4009, allocations: 5.656 MB / 464.2 MB, free: 3.605 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.o] Error 1