Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007789/0.000779, allocations: 91.75 kB / 17.31 MB, free: 5.59 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.0008491/0.0008502, allocations: 182.4 kB / 18.21 MB, free: 5.191 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.84/1.84, 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.1855/0.1855, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0007529/0.000753, allocations: 15.98 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3457, allocations: 56.33 MB / 434.2 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002693/0.3485, allocations: 1.855 MB / 436 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.3514, allocations: 2.16 MB / 438.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.3515, allocations: 0 / 438.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.3517, allocations: 15.92 kB / 438.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3518, allocations: 31.83 kB / 438.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3535, allocations: 0.6733 MB / 438.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3537, allocations: 187.4 kB / 439.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3537, allocations: 4 kB / 439.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.3538, allocations: 35.91 kB / 439.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.3539, allocations: 63.75 kB / 439.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3539, allocations: 0 / 439.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3555, allocations: 1.22 MB / 440.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.3556, allocations: 35.89 kB / 440.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3557, allocations: 61.39 kB / 440.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3568, allocations: 0.9726 MB / 441.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3568, allocations: 3.938 kB / 441.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3568, allocations: 4 kB / 441.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3568, allocations: 0 / 441.5 MB, free: 11.31 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006582/0.3575, allocations: 0.5279 MB / 442 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3575, allocations: 12.03 kB / 442 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.3576, allocations: 12.84 kB / 442 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3578, allocations: 196 kB / 442.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3578, allocations: 4.125 kB / 442.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3578, allocations: 0 / 442.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.358, allocations: 77.67 kB / 442.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.358, allocations: 0 / 442.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.358, allocations: 3.984 kB / 442.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.358, allocations: 0 / 442.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.3581, allocations: 35.98 kB / 442.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.3582, allocations: 181.5 kB / 442.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.3583, allocations: 82.42 kB / 442.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.3584, allocations: 60.88 kB / 442.6 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3584, allocations: 7.938 kB / 442.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3585, allocations: 30.56 kB / 442.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.3585, allocations: 0 / 442.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003491/0.3588, allocations: 219.2 kB / 442.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3589, allocations: 93.05 kB / 443 MB, free: 9.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.359, allocations: 154.1 kB / 443.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.359, allocations: 25.7 kB / 443.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.359, allocations: 100.4 kB / 443.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.3591, allocations: 47.33 kB / 443.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3591, allocations: 17.72 kB / 443.3 MB, free: 9.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.3592, allocations: 322.8 kB / 443.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.3593, allocations: 39.97 kB / 443.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.317e-05/0.3593, allocations: 46.34 kB / 443.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3595, allocations: 172.2 kB / 443.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3595, allocations: 3.938 kB / 443.9 MB, free: 8.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001665/0.3596, allocations: 175.1 kB / 444.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.3597, allocations: 53.61 kB / 444.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3597, allocations: 4.062 kB / 444.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3597, allocations: 0 / 444.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3597, allocations: 4 kB / 444.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3598, allocations: 0 / 444.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.3598, allocations: 8 kB / 444.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3599, allocations: 4 kB / 444.1 MB, free: 8.367 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.36, allocations: 171.4 kB / 444.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.36, allocations: 23.78 kB / 444.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.36, allocations: 12.78 kB / 444.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.36, allocations: 4 kB / 444.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3601, allocations: 0 / 444.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3601, allocations: 0 / 444.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3602, allocations: 197.4 kB / 444.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3602, allocations: 0 / 444.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.3602, allocations: 0 / 444.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3602, allocations: 4 kB / 444.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3602, allocations: 7.984 kB / 444.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3602, allocations: 0 / 444.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3602, allocations: 0 / 444.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3605, allocations: 306 kB / 444.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3606, allocations: 92.92 kB / 444.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3606, allocations: 3.984 kB / 444.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.3607, allocations: 4 kB / 444.9 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3607, allocations: 4 kB / 445 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3607, allocations: 4 kB / 445 MB, free: 7.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.3608, allocations: 115.1 kB / 445.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3608, allocations: 0 / 445.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007961/0.3616, allocations: 335.9 kB / 445.4 MB, free: 7.004 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 (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.0008004/0.3624, allocations: 359 kB / 445.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3627, allocations: 335.3 kB / 446.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3627, allocations: 0 / 446.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.3629, allocations: 255.3 kB / 446.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3632, allocations: 24.05 kB / 446.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.3637, allocations: 430.6 kB / 446.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3639, allocations: 0.716 MB / 447.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.3639, allocations: 7.438 kB / 447.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.364, allocations: 0 / 447.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of Templates: time 0.009627/0.3736, allocations: 6.143 MB / 453.6 MB, free: 14.67 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.Precalculation.EqCircFromTransDatCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.o] Error 1