Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 92.27 kB / 16.96 MB, free: 6.461 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.001083/0.001083, allocations: 178.8 kB / 17.84 MB, free: 6 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.564/1.564, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1819/0.1819, allocations: 38.03 MB / 310.3 MB, free: 6.035 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.0005098/0.0005098, allocations: 15.12 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2884, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002568/0.291, allocations: 1.719 MB / 435.2 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.2918, allocations: 0.539 MB / 435.7 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.2919, allocations: 0 / 435.7 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.2921, allocations: 11.92 kB / 435.7 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.2922, allocations: 19.91 kB / 435.8 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.2924, allocations: 59.86 kB / 435.8 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2925, allocations: 83.7 kB / 435.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.2926, allocations: 8 kB / 435.9 MB, free: 16.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.2927, allocations: 19.92 kB / 435.9 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.2928, allocations: 31.84 kB / 436 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2928, allocations: 0 / 436 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2929, allocations: 51.86 kB / 436 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.293, allocations: 27.92 kB / 436 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.293, allocations: 33.64 kB / 436.1 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2931, allocations: 77.81 kB / 436.2 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2931, allocations: 4 kB / 436.2 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2931, allocations: 0 / 436.2 MB, free: 16.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2932, allocations: 4 kB / 436.2 MB, free: 16.12 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003809/0.2935, allocations: 424.6 kB / 436.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2936, allocations: 11.97 kB / 436.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.2937, allocations: 15.77 kB / 436.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2938, allocations: 178.9 kB / 436.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2938, allocations: 0 / 436.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2938, allocations: 7.938 kB / 436.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.294, allocations: 89.67 kB / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.294, allocations: 0 / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.294, allocations: 0 / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.294, allocations: 0 / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.2941, allocations: 59.97 kB / 436.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.2942, allocations: 185.5 kB / 437.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.2943, allocations: 94.56 kB / 437.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.2944, allocations: 96.66 kB / 437.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.2944, allocations: 4 kB / 437.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2944, allocations: 34.55 kB / 437.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.2944, allocations: 0 / 437.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003172/0.2947, allocations: 295.5 kB / 437.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.2948, allocations: 97.09 kB / 437.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.2949, allocations: 137.1 kB / 437.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.2949, allocations: 25.7 kB / 437.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.2949, allocations: 92.61 kB / 438 MB, free: 14.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.295, allocations: 86.73 kB / 438.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.295, allocations: 3.938 kB / 438.1 MB, free: 14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.295, allocations: 326.8 kB / 438.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.2951, allocations: 63.91 kB / 438.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.2951, allocations: 55.98 kB / 438.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.2952, allocations: 117.7 kB / 438.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2952, allocations: 0 / 438.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001631/0.2954, allocations: 231.8 kB / 438.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.2955, allocations: 61.67 kB / 438.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2955, allocations: 4.062 kB / 438.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2955, allocations: 0 / 438.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.2955, allocations: 3.984 kB / 438.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2955, allocations: 0 / 438.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.2955, allocations: 11.84 kB / 438.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.2956, allocations: 4 kB / 438.9 MB, free: 13.11 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.0001145/0.2957, allocations: 199.4 kB / 439.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.2957, allocations: 11.91 kB / 439.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.2957, allocations: 13.19 kB / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2957, allocations: 4 kB / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2957, allocations: 0 / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2958, allocations: 0 / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2959, allocations: 209.3 kB / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2959, allocations: 0 / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2959, allocations: 0 / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.2959, allocations: 0 / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2959, allocations: 4 kB / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2959, allocations: 0 / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2959, allocations: 4 kB / 439.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.2963, allocations: 0.5137 MB / 439.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.2963, allocations: 92.86 kB / 440 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.2964, allocations: 4 kB / 440 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.2964, allocations: 4 kB / 440 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2964, allocations: 0 / 440 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2964, allocations: 7.984 kB / 440 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.2965, allocations: 103.3 kB / 440.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 0 / 440.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.2967, allocations: 48.03 kB / 440.1 MB, free: 11.8 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.000142/0.2969, allocations: 111.2 kB / 440.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.2974, allocations: 0.7022 MB / 440.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2974, allocations: 0 / 440.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.2977, allocations: 0.5696 MB / 441.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.298, allocations: 19.94 kB / 441.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.2985, allocations: 492.1 kB / 442 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2987, allocations: 0.7241 MB / 442.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.2987, allocations: 7.438 kB / 442.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2987, allocations: 0 / 442.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of Templates: time 0.003132/0.3018, allocations: 1.715 MB / 444.4 MB, free: 7.387 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1