Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007903, allocations: 92.33 kB / 16.95 MB, free: 5.953 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.0008523/0.0008524, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.565/1.565, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1814/0.1814, allocations: 38.06 MB / 310.3 MB, free: 6.113 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.0005899/0.0005901, allocations: 12 kB / 377.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3488, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00221/0.351, allocations: 1.727 MB / 435.2 MB, free: 17.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.3517, allocations: 0.5313 MB / 435.7 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.3517, allocations: 0 / 435.7 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3519, allocations: 7.938 kB / 435.7 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3521, allocations: 23.89 kB / 435.8 MB, free: 16.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.3523, allocations: 55.86 kB / 435.8 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3524, allocations: 91.66 kB / 435.9 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.3525, allocations: 3.984 kB / 435.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.3526, allocations: 31.84 kB / 435.9 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.3526, allocations: 27.86 kB / 436 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3526, allocations: 0 / 436 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3527, allocations: 39.94 kB / 436 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.3528, allocations: 19.92 kB / 436 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.3528, allocations: 29.7 kB / 436.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.3529, allocations: 61.88 kB / 436.1 MB, free: 16.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.353, allocations: 8 kB / 436.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.353, allocations: 0 / 436.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.353, allocations: 0 / 436.1 MB, free: 16.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002985/0.3533, allocations: 392.7 kB / 436.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3533, allocations: 12.03 kB / 436.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3534, allocations: 11.86 kB / 436.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3535, allocations: 178.6 kB / 436.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3536, allocations: 0 / 436.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3536, allocations: 4 kB / 436.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3537, allocations: 61.62 kB / 436.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.3537, allocations: 0 / 436.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3537, allocations: 4 kB / 436.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3537, allocations: 3.938 kB / 436.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.3538, allocations: 31.92 kB / 436.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.3539, allocations: 169.6 kB / 437 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.354, allocations: 54.56 kB / 437 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.354, allocations: 44.88 kB / 437.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.354, allocations: 7.984 kB / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.354, allocations: 30.56 kB / 437.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.354, allocations: 0 / 437.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002284/0.3543, allocations: 183.2 kB / 437.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3543, allocations: 85.11 kB / 437.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.3544, allocations: 122 kB / 437.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3544, allocations: 29.64 kB / 437.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.3544, allocations: 92.17 kB / 437.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3545, allocations: 39.44 kB / 437.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3545, allocations: 0 / 437.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3545, allocations: 326.8 kB / 438 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.3546, allocations: 27.98 kB / 438 MB, free: 14.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.3546, allocations: 28 kB / 438 MB, free: 14.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.3547, allocations: 73.67 kB / 438.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3547, allocations: 0 / 438.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.3548, allocations: 150.8 kB / 438.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.3549, allocations: 49.75 kB / 438.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3549, allocations: 7.984 kB / 438.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3549, allocations: 0 / 438.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.3549, allocations: 0 / 438.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3549, allocations: 0 / 438.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.3549, allocations: 11.84 kB / 438.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.355, allocations: 7.938 kB / 438.3 MB, free: 13.72 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/0.3551, allocations: 171.4 kB / 438.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3551, allocations: 7.906 kB / 438.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.3551, allocations: 4.375 kB / 438.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3551, allocations: 8 kB / 438.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3551, allocations: 0 / 438.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3551, allocations: 0 / 438.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.733e-05/0.3552, allocations: 177.6 kB / 438.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3552, allocations: 0 / 438.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3552, allocations: 0 / 438.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3552, allocations: 0 / 438.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3552, allocations: 7.984 kB / 438.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3552, allocations: 4 kB / 438.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3552, allocations: 0 / 438.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3555, allocations: 282.5 kB / 439 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.3555, allocations: 88.89 kB / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3555, allocations: 4 kB / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.3556, allocations: 0 / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.3556, allocations: 4 kB / 439.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3556, allocations: 7.984 kB / 439.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.3556, allocations: 95.2 kB / 439.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3556, allocations: 0 / 439.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.3558, allocations: 36.03 kB / 439.2 MB, free: 12.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001392/0.356, allocations: 107.2 kB / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3562, allocations: 287.3 kB / 439.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3562, allocations: 0 / 439.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3564, allocations: 223.3 kB / 439.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3566, allocations: 15.95 kB / 439.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.357, allocations: 314.8 kB / 440.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3572, allocations: 0.7004 MB / 440.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-06/0.3572, allocations: 7.438 kB / 440.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3572, allocations: 0 / 440.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of Templates: time 0.002535/0.3597, allocations: 1.248 MB / 442.1 MB, free: 9.762 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Precalculation.Z_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1