Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008573, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.001016/0.001016, allocations: 175.3 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.854/1.854, allocations: 205.4 MB / 224.4 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.214/0.214, allocations: 38.04 MB / 310.7 MB, free: 5.926 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.0005687/0.0005688, allocations: 20 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3041, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004752/0.3089, allocations: 4.838 MB / 439 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3108, allocations: 1.54 MB / 440.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.3111, allocations: 27.81 kB / 440.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.3114, allocations: 79.44 kB / 440.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.3118, allocations: 227 kB / 440.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.3122, allocations: 151.8 kB / 441 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.3128, allocations: 0.8299 MB / 441.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.3135, allocations: 0.5516 MB / 442.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3137, allocations: 207 kB / 442.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.3141, allocations: 275 kB / 442.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3142, allocations: 20 kB / 442.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3144, allocations: 123.8 kB / 443 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.3145, allocations: 163.5 kB / 443.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3147, allocations: 236.5 kB / 443.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.315, allocations: 383.1 kB / 443.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.315, allocations: 0 / 443.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.315, allocations: 0 / 443.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3151, allocations: 4 kB / 443.8 MB, free: 9.008 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.0008988/0.316, allocations: 0.6252 MB / 444.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.316, allocations: 8.031 kB / 444.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.3166, allocations: 80.33 kB / 444.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.3171, allocations: 399.1 kB / 444.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.3171, allocations: 25.36 kB / 444.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3172, allocations: 48.11 kB / 444.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.3178, allocations: 472.8 kB / 445.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3178, allocations: 0 / 445.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3179, allocations: 19.98 kB / 445.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.489e-05/0.318, allocations: 28.92 kB / 445.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3184, allocations: 339.7 kB / 445.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.32, allocations: 1.71 MB / 447.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.3203, allocations: 153 kB / 447.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3204, allocations: 105.7 kB / 447.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3205, allocations: 3.938 kB / 447.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3205, allocations: 42.55 kB / 447.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3205, allocations: 0 / 447.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001235/0.3217, allocations: 0.8496 MB / 448.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3218, allocations: 81.11 kB / 448.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.322, allocations: 308.5 kB / 449 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.322, allocations: 29.83 kB / 449 MB, free: 3.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3222, allocations: 247.5 kB / 449.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3222, allocations: 75.08 kB / 449.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3222, allocations: 29.7 kB / 449.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.3223, allocations: 342.8 kB / 449.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3224, allocations: 96.17 kB / 449.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.3226, allocations: 197.2 kB / 450 MB, free: 2.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3229, allocations: 316.6 kB / 450.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3229, allocations: 0 / 450.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006992/0.3236, allocations: 457.7 kB / 450.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3236, allocations: 4 kB / 450.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004748/0.3241, allocations: 288.5 kB / 451 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.3246, allocations: 140.7 kB / 451.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3247, allocations: 55.86 kB / 451.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.3271, allocations: 2.157 MB / 453.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3273, allocations: 11.98 kB / 453.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3273, allocations: 12 kB / 453.4 MB, free: 14.71 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.0002112/0.3275, allocations: 197.6 kB / 453.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3276, allocations: 27.72 kB / 453.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.328, allocations: 253.3 kB / 453.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.328, allocations: 0 / 453.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.328, allocations: 4 kB / 453.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.328, allocations: 3.938 kB / 453.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3291, allocations: 0.7118 MB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3291, allocations: 3.938 kB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3294, allocations: 47.97 kB / 454.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.3295, allocations: 24.84 kB / 454.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3295, allocations: 8 kB / 454.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.3308, allocations: 1.478 MB / 456.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3308, allocations: 0 / 456.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.3313, allocations: 434.3 kB / 456.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.3314, allocations: 100.7 kB / 456.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3315, allocations: 8 kB / 456.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3316, allocations: 12.03 kB / 456.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3317, allocations: 15.92 kB / 456.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3317, allocations: 8 kB / 456.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3319, allocations: 223 kB / 456.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3319, allocations: 4 kB / 456.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.3323, allocations: 80 kB / 457 MB, free: 10.84 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.3325, allocations: 103.2 kB / 457.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006847/0.3332, allocations: 398.6 kB / 457.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3332, allocations: 0 / 457.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.3335, allocations: 224.1 kB / 457.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.334, allocations: 73.17 kB / 457.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3356, allocations: 1.127 MB / 458.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.3361, allocations: 0.8419 MB / 459.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3362, allocations: 23.44 kB / 459.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3362, allocations: 4 kB / 459.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of Templates: time 0.008477/0.3447, allocations: 5.664 MB / 465.5 MB, free: 2.285 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1