Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009252/0.0009251, allocations: 92.2 kB / 17.31 MB, free: 6.023 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.001302/0.001302, allocations: 175.8 kB / 18.21 MB, free: 5.414 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.773/1.773, 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.1824/0.1824, allocations: 38.07 MB / 310.7 MB, free: 5.898 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.0005884/0.0005881, allocations: 12 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3172, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002324/0.3196, allocations: 1.754 MB / 435.9 MB, free: 16.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.3203, allocations: 0.5699 MB / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.3203, allocations: 0 / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.3205, allocations: 11.92 kB / 436.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.202e-05/0.3206, allocations: 23.89 kB / 436.5 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3209, allocations: 55.86 kB / 436.6 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.321, allocations: 119.7 kB / 436.7 MB, free: 16.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.321, allocations: 8 kB / 436.7 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.3211, allocations: 23.88 kB / 436.7 MB, free: 16.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.3212, allocations: 31.83 kB / 436.7 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3212, allocations: 4 kB / 436.7 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.3214, allocations: 75.83 kB / 436.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.3214, allocations: 15.92 kB / 436.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.3214, allocations: 41.58 kB / 436.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3216, allocations: 73.84 kB / 436.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3216, allocations: 4 kB / 436.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3216, allocations: 0 / 436.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.3216, allocations: 0 / 436.9 MB, free: 15.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003171/0.3219, allocations: 381 kB / 437.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.322, allocations: 8.031 kB / 437.3 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.322, allocations: 8.844 kB / 437.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3222, allocations: 172.4 kB / 437.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3222, allocations: 384 / 437.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3222, allocations: 8.125 kB / 437.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3223, allocations: 49.62 kB / 437.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3223, allocations: 0 / 437.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3224, allocations: 0 / 437.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3224, allocations: 7.984 kB / 437.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.3224, allocations: 20 kB / 437.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.3225, allocations: 169.6 kB / 437.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.3226, allocations: 38.58 kB / 437.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3226, allocations: 36.97 kB / 437.8 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.3226, allocations: 3.938 kB / 437.8 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3227, allocations: 46.5 kB / 437.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.3227, allocations: 0 / 437.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002086/0.3229, allocations: 147.3 kB / 438 MB, free: 14.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3229, allocations: 81.11 kB / 438.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.323, allocations: 121.8 kB / 438.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.323, allocations: 25.7 kB / 438.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.323, allocations: 80.14 kB / 438.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3231, allocations: 31.55 kB / 438.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.3231, allocations: 13.72 kB / 438.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.3232, allocations: 318.9 kB / 438.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.3232, allocations: 23.98 kB / 438.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.3232, allocations: 23.92 kB / 438.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.3233, allocations: 124.2 kB / 438.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3233, allocations: 0 / 438.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.968e-05/0.3234, allocations: 119.2 kB / 439 MB, free: 13.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.3235, allocations: 49.67 kB / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3235, allocations: 0 / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3235, allocations: 0 / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3235, allocations: 4.062 kB / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3235, allocations: 0 / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.3235, allocations: 7.938 kB / 439 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3236, allocations: 0 / 439 MB, free: 13.51 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 7.644e-05/0.3236, allocations: 159.4 kB / 439.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3237, allocations: 7.906 kB / 439.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.3237, allocations: 12.36 kB / 439.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3237, allocations: 0 / 439.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3237, allocations: 7.938 kB / 439.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3237, allocations: 4 kB / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.133e-05/0.3238, allocations: 169.6 kB / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3238, allocations: 0 / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3238, allocations: 0 / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3238, allocations: 4.359 kB / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3238, allocations: 4 kB / 439.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3238, allocations: 0 / 439.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3238, allocations: 0 / 439.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.324, allocations: 218.5 kB / 439.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.324, allocations: 81.14 kB / 439.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3241, allocations: 7.938 kB / 439.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.3241, allocations: 0 / 439.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3241, allocations: 8 kB / 439.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.3241, allocations: 0 / 439.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.3242, allocations: 87.27 kB / 439.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3242, allocations: 3.938 kB / 439.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.3244, allocations: 32 kB / 439.8 MB, free: 12.61 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.000143/0.3245, allocations: 119.2 kB / 439.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3247, allocations: 187.3 kB / 440.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3247, allocations: 0 / 440.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.3248, allocations: 147.4 kB / 440.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.325, allocations: 15.94 kB / 440.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.3254, allocations: 266.3 kB / 440.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3255, allocations: 0.6965 MB / 441.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-06/0.3255, allocations: 7.438 kB / 441.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3256, allocations: 0 / 441.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Templates: time 0.002238/0.3278, allocations: 1.082 MB / 442.3 MB, free: 10.01 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.Z_matrixEqCirc0CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0CalcHelperMain.o] Error 1