Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009725, allocations: 95.05 kB / 17.31 MB, free: 5.672 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.001198/0.001198, allocations: 176.5 kB / 18.21 MB, free: 5.246 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.806/1.806, 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.1811/0.1811, allocations: 38.06 MB / 310.7 MB, free: 5.902 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.0005637/0.0005639, allocations: 16 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3098, allocations: 56.34 MB / 434.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004852/0.3148, allocations: 4.806 MB / 439 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3173, allocations: 1.777 MB / 440.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.3176, allocations: 27.81 kB / 440.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.3178, allocations: 55.55 kB / 440.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.3183, allocations: 250.9 kB / 441.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.3189, allocations: 223.6 kB / 441.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.3196, allocations: 0.9316 MB / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.3203, allocations: 484.4 kB / 442.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.3206, allocations: 214.9 kB / 442.9 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.3211, allocations: 326.9 kB / 443.2 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3211, allocations: 16 kB / 443.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.3214, allocations: 143.7 kB / 443.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3215, allocations: 191.5 kB / 443.6 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3217, allocations: 252.5 kB / 443.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3221, allocations: 454.8 kB / 444.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3221, allocations: 0 / 444.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3222, allocations: 0 / 444.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.3222, allocations: 3.938 kB / 444.3 MB, free: 8.488 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001117/0.3233, allocations: 0.6803 MB / 444.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3233, allocations: 12.03 kB / 444.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/0.3239, allocations: 88.22 kB / 445 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.3244, allocations: 396 kB / 445.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3244, allocations: 37.36 kB / 445.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3246, allocations: 56.02 kB / 445.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.3254, allocations: 0.6638 MB / 446.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3254, allocations: 3.938 kB / 446.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.3254, allocations: 19.98 kB / 446.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3256, allocations: 48.97 kB / 446.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.3262, allocations: 499.4 kB / 446.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.3288, allocations: 3.144 MB / 449.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.3292, allocations: 241.3 kB / 450.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3293, allocations: 121.7 kB / 450.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3294, allocations: 15.92 kB / 450.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3294, allocations: 38.56 kB / 450.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3294, allocations: 0 / 450.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001312/0.3307, allocations: 0.8971 MB / 451.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3308, allocations: 85.05 kB / 451.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.3311, allocations: 332.5 kB / 451.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3311, allocations: 33.64 kB / 451.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3312, allocations: 291.1 kB / 451.9 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.3313, allocations: 90.73 kB / 452 MB, free: 296 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3313, allocations: 37.7 kB / 452 MB, free: 252 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3315, allocations: 354.7 kB / 452.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3317, allocations: 124.8 kB / 452.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3321, allocations: 329.1 kB / 452.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3327, allocations: 0.4886 MB / 453.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3328, allocations: 4 kB / 453.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001073/0.3338, allocations: 0.5959 MB / 453.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3339, allocations: 8 kB / 453.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006183/0.3345, allocations: 333.3 kB / 454.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.3349, allocations: 122 kB / 454.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3352, allocations: 79.89 kB / 454.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.338, allocations: 3.045 MB / 457.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3383, allocations: 16.06 kB / 457.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3383, allocations: 27.98 kB / 457.5 MB, free: 10.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002499/0.3386, allocations: 213.5 kB / 457.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.3387, allocations: 31.62 kB / 457.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.3392, allocations: 320.8 kB / 458.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3392, allocations: 11.92 kB / 458.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3392, allocations: 0 / 458.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3392, allocations: 0 / 458.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3403, allocations: 0.8043 MB / 458.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3403, allocations: 0 / 458.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3406, allocations: 59.91 kB / 459 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3407, allocations: 4.062 kB / 459 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3407, allocations: 8 kB / 459 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3407, allocations: 0 / 459 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3407, allocations: 4 kB / 459 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.3414, allocations: 0.5091 MB / 459.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3415, allocations: 124.8 kB / 459.6 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.3415, allocations: 11.98 kB / 459.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3417, allocations: 8 kB / 459.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3417, allocations: 23.84 kB / 459.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3418, allocations: 12 kB / 459.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.342, allocations: 219.1 kB / 459.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 0 / 459.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000467/0.3425, allocations: 99.98 kB / 460 MB, free: 7.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001377/0.3426, allocations: 107.2 kB / 460.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.3435, allocations: 0.5804 MB / 460.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3436, allocations: 0 / 460.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3437, allocations: 131.7 kB / 460.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.3443, allocations: 65.86 kB / 460.8 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3461, allocations: 1.307 MB / 462.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.3466, allocations: 0.8662 MB / 463 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.3467, allocations: 43.38 kB / 463.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of SimCode: time 1.944e-06/0.3467, allocations: 0 / 463.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Templates: time 0.009474/0.3562, allocations: 6.451 MB / 469.5 MB, free: 14.05 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1