Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001214, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007895, allocations: 85.42 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1921/0.1921, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 56.32 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4124, allocations: 89.49 MB / 0.5564 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4127, allocations: 79.95 kB / 0.5565 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.4323, allocations: 5.731 MB / 0.5621 GB, free: 7.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4324, allocations: 4 kB / 0.5621 GB, free: 7.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4324, allocations: 0 / 0.5621 GB, free: 7.07 MB / 394.7 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.0005414/0.4329, allocations: 464.6 kB / 0.5625 GB, free: 6.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.433, allocations: 16.02 kB / 0.5625 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.433, allocations: 8.844 kB / 0.5625 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4332, allocations: 192.1 kB / 0.5627 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4333, allocations: 384 / 0.5627 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4333, allocations: 4.375 kB / 0.5627 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4335, allocations: 98.83 kB / 0.5628 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4335, allocations: 4.188 kB / 0.5628 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4335, allocations: 3.938 kB / 0.5628 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4335, allocations: 0 / 0.5628 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.4336, allocations: 55.97 kB / 0.5629 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.4338, allocations: 189.4 kB / 0.5631 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.434, allocations: 130.5 kB / 0.5632 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4341, allocations: 116.9 kB / 0.5633 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4342, allocations: 3.938 kB / 0.5633 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4342, allocations: 42.56 kB / 0.5633 GB, free: 5.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.4342, allocations: 3.938 kB / 0.5633 GB, free: 5.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004322/0.4346, allocations: 292.1 kB / 0.5636 GB, free: 5.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4347, allocations: 93.09 kB / 0.5637 GB, free: 5.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4348, allocations: 133.8 kB / 0.5638 GB, free: 5.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4348, allocations: 25.7 kB / 0.5639 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.4349, allocations: 96.45 kB / 0.564 GB, free: 4.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.435, allocations: 63.05 kB / 0.564 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.435, allocations: 0 / 0.564 GB, free: 4.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4351, allocations: 322.8 kB / 0.5643 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.4352, allocations: 55.97 kB / 0.5644 GB, free: 4.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.4353, allocations: 67.84 kB / 0.5644 GB, free: 4.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.4355, allocations: 236.4 kB / 0.5647 GB, free: 4.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4355, allocations: 0 / 0.5647 GB, free: 4.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002597/0.4358, allocations: 219.1 kB / 0.5649 GB, free: 3.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.4358, allocations: 59.48 kB / 0.5649 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4359, allocations: 4.062 kB / 0.5649 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4359, allocations: 0 / 0.5649 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-06/0.4359, allocations: 7.984 kB / 0.5649 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4359, allocations: 0 / 0.5649 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.436, allocations: 11.84 kB / 0.565 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.436, allocations: 8 kB / 0.565 GB, free: 3.84 MB / 394.7 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.0001377/0.4361, allocations: 179.4 kB / 0.5651 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.4362, allocations: 15.84 kB / 0.5652 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.4362, allocations: 21.11 kB / 0.5652 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4362, allocations: 7.984 kB / 0.5652 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4362, allocations: 0 / 0.5652 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4362, allocations: 0 / 0.5652 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4364, allocations: 189.5 kB / 0.5654 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4364, allocations: 4 kB / 0.5654 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.4364, allocations: 0 / 0.5654 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4364, allocations: 3.938 kB / 0.5654 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4364, allocations: 4 kB / 0.5654 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4364, allocations: 0 / 0.5654 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4364, allocations: 0 / 0.5654 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.4369, allocations: 390.6 kB / 0.5657 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.4369, allocations: 96.84 kB / 0.5658 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.437, allocations: 11.88 kB / 0.5658 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.437, allocations: 8 kB / 0.5659 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.437, allocations: 8 kB / 0.5659 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4371, allocations: 8 kB / 0.5659 GB, free: 2.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.4371, allocations: 99.25 kB / 0.566 GB, free: 2.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.4371, allocations: 0 / 0.566 GB, free: 2.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.4376, allocations: 147.8 kB / 0.5661 GB, free: 2.566 MB / 394.7 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.0005342/0.4382, allocations: 194.3 kB / 0.5663 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.4388, allocations: 0.5695 MB / 0.5668 GB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4388, allocations: 0 / 0.5668 GB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.4392, allocations: 467.3 kB / 0.5673 GB, free: 1.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.4394, allocations: 15.98 kB / 0.5673 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.4401, allocations: 469.7 kB / 0.5678 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4404, allocations: 0.72 MB / 0.5685 GB, free: 60 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.4404, allocations: 11.38 kB / 0.5685 GB, free: 48 kB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4404, allocations: 0 / 0.5685 GB, free: 48 kB / 394.7 MB Notification: Performance of Templates: time 0.005635/0.4461, allocations: 3.054 MB / 0.5715 GB, free: 13 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile clang++ -std=c++14 -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_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:724:32: error: invalid argument type 'DynArrayDim1' to unary expression y_(j_) = division((-tmp106),Tc_(j_),!_initial,"Tc[j]"); ^~~~~~~ 1 error generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o] Error 1