Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008413, allocations: 96.25 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.001121/0.001121, allocations: 175.1 kB / 17.84 MB, free: 5.621 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.682/1.682, 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.1781/0.1781, 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.0005944/0.0005946, allocations: 16 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3223, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002335/0.3247, allocations: 1.82 MB / 435.3 MB, free: 17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3261, allocations: 1.042 MB / 436.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.3262, allocations: 0 / 436.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.3264, allocations: 11.92 kB / 436.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.3265, allocations: 51.78 kB / 436.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.3273, allocations: 211.5 kB / 436.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3276, allocations: 199.4 kB / 436.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.3277, allocations: 8 kB / 436.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3278, allocations: 51.77 kB / 436.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3279, allocations: 75.72 kB / 436.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3279, allocations: 4 kB / 436.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.3285, allocations: 319.3 kB / 437.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3285, allocations: 31.89 kB / 437.3 MB, free: 15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.3286, allocations: 41.64 kB / 437.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.329, allocations: 381.2 kB / 437.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3291, allocations: 0 / 437.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3291, allocations: 4 kB / 437.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3291, allocations: 0 / 437.7 MB, free: 14.58 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004486/0.3295, allocations: 452.6 kB / 438.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3296, allocations: 8.031 kB / 438.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.3296, allocations: 19.7 kB / 438.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3298, allocations: 190.9 kB / 438.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.3298, allocations: 0 / 438.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.3299, allocations: 4 kB / 438.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.33, allocations: 89.66 kB / 438.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.33, allocations: 7.984 kB / 438.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3301, allocations: 0 / 438.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3301, allocations: 0 / 438.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.3301, allocations: 59.91 kB / 438.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3303, allocations: 185.5 kB / 438.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3304, allocations: 130.5 kB / 438.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.3305, allocations: 120.8 kB / 438.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3305, allocations: 0 / 438.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.3306, allocations: 38.56 kB / 439 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 7.11e-07/0.3306, allocations: 0 / 439 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003947/0.331, allocations: 291.9 kB / 439.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.331, allocations: 97.09 kB / 439.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.3311, allocations: 126 kB / 439.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.3311, allocations: 29.7 kB / 439.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.3312, allocations: 100.4 kB / 439.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.3312, allocations: 67 kB / 439.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.3312, allocations: 4.031 kB / 439.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.3313, allocations: 326.8 kB / 440 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.3314, allocations: 55.97 kB / 440 MB, free: 12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.3315, allocations: 55.97 kB / 440.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.3316, allocations: 109.6 kB / 440.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3316, allocations: 0 / 440.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002094/0.3318, allocations: 215.2 kB / 440.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.3319, allocations: 60.48 kB / 440.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3319, allocations: 0 / 440.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3319, allocations: 4.062 kB / 440.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.3319, allocations: 0 / 440.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3319, allocations: 3.984 kB / 440.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.332, allocations: 11.84 kB / 440.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.332, allocations: 11.98 kB / 440.5 MB, free: 11.52 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 0.0001261/0.3322, allocations: 183.4 kB / 440.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.3322, allocations: 19.78 kB / 440.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.3322, allocations: 13.19 kB / 440.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3322, allocations: 0 / 440.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3322, allocations: 4 kB / 440.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3322, allocations: 0 / 440.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3324, allocations: 193.5 kB / 440.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3324, allocations: 7.938 kB / 440.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.3324, allocations: 0 / 440.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3324, allocations: 0 / 440.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3324, allocations: 8 kB / 440.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3324, allocations: 3.984 kB / 440.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3324, allocations: 0 / 440.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.3328, allocations: 387.1 kB / 441.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3329, allocations: 88.95 kB / 441.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3329, allocations: 4 kB / 441.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.3329, allocations: 4 kB / 441.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.333, allocations: 8 kB / 441.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.333, allocations: 11.94 kB / 441.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.333, allocations: 99.27 kB / 441.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.333, allocations: 3.938 kB / 441.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.3335, allocations: 131.9 kB / 441.7 MB, free: 10.27 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.0004056/0.3339, allocations: 181.6 kB / 441.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3343, allocations: 0.5656 MB / 442.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3343, allocations: 0 / 442.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.3346, allocations: 467.3 kB / 442.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3349, allocations: 23.94 kB / 442.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.3354, allocations: 469.1 kB / 443.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3356, allocations: 0.7277 MB / 444.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.3357, allocations: 7.438 kB / 444.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3357, allocations: 0 / 444.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of Templates: time 0.00523/0.3409, allocations: 3.095 MB / 447.2 MB, free: 4.664 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCircCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o] Error 1