Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009885/0.0009885, allocations: 199.4 kB / 18.06 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000744/0.0007438, allocations: 104.3 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002252/0.0002253, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1874, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09941/0.2869, allocations: 90.35 MB / 499 MB, free: 1.211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.2872, allocations: 83.95 kB / 499.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/0.7288, allocations: 160.7 MB / 0.6443 GB, free: 11.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7289, allocations: 0 / 0.6443 GB, free: 11.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001513/0.729, allocations: 95.88 kB / 0.6444 GB, free: 11.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01138/0.7404, allocations: 4.174 MB / 0.6485 GB, free: 7.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7405, allocations: 8.031 kB / 0.6485 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/0.7457, allocations: 0.9911 MB / 0.6494 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004903/0.7506, allocations: 2.763 MB / 0.6521 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.7509, allocations: 325.1 kB / 0.6524 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007226/0.7516, allocations: 412.4 kB / 0.6528 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.7626, allocations: 6.6 MB / 0.6593 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-05/0.7628, allocations: 11.83 kB / 0.6593 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.7632, allocations: 184 kB / 0.6595 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.7635, allocations: 321.3 kB / 0.6598 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008009/0.7715, allocations: 4.734 MB / 0.6644 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2038/0.9753, allocations: 20.97 MB / 0.6849 GB, free: 76.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.9799, allocations: 5.601 MB / 0.6904 GB, free: 71.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.9809, allocations: 0.714 MB / 0.6911 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.9811, allocations: 188.3 kB / 0.6912 GB, free: 71.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.9811, allocations: 46.2 kB / 0.6913 GB, free: 71.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.166e-06/0.9811, allocations: 0 / 0.6913 GB, free: 71.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002281/0.9834, allocations: 1.565 MB / 0.6928 GB, free: 71.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.9834, allocations: 66.31 kB / 0.6929 GB, free: 71.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.9852, allocations: 1.447 MB / 0.6943 GB, free: 71.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.9853, allocations: 40.73 kB / 0.6943 GB, free: 71.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/0.986, allocations: 1.959 MB / 0.6962 GB, free: 70.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.9862, allocations: 362.8 kB / 0.6966 GB, free: 70.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.9863, allocations: 47.66 kB / 0.6966 GB, free: 70.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9864, allocations: 450.5 kB / 0.6971 GB, free: 69.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.9874, allocations: 0.8464 MB / 0.6979 GB, free: 69.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.9888, allocations: 1.981 MB / 0.6998 GB, free: 68.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.9913, allocations: 3.002 MB / 0.7027 GB, free: 66.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.9913, allocations: 11.25 kB / 0.7028 GB, free: 66.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003377/0.9947, allocations: 2.875 MB / 0.7056 GB, free: 66.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.9947, allocations: 24.88 kB / 0.7056 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.9948, allocations: 40.59 kB / 0.7056 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.645e-05/0.9948, allocations: 51.78 kB / 0.7057 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.9962, allocations: 0.535 MB / 0.7062 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.026e-05/0.9963, allocations: 78.36 kB / 0.7063 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9975, allocations: 297.8 kB / 0.7066 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.9976, allocations: 129.3 kB / 0.7067 GB, free: 66.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00212/0.9997, allocations: 1.661 MB / 0.7083 GB, free: 66.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.9999, allocations: 135.1 kB / 0.7084 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.002, allocations: 1.441 MB / 0.7098 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001183/1.003, allocations: 1.024 MB / 0.7108 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.003, allocations: 0 / 0.7108 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.003, allocations: 3.844 kB / 0.7108 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.017, allocations: 13.35 MB / 0.7239 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.017, allocations: 18.94 kB / 0.7239 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/1.017, allocations: 216 kB / 0.7241 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/1.017, allocations: 25.16 kB / 0.7241 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/1.017, allocations: 45.56 kB / 0.7242 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-05/1.017, allocations: 41.16 kB / 0.7242 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/1.017, allocations: 30.09 kB / 0.7242 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.02, allocations: 2.609 MB / 0.7268 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/1.021, allocations: 341.4 kB / 0.7271 GB, free: 61.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.021, allocations: 46 kB / 0.7272 GB, free: 61.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/1.021, allocations: 66.5 kB / 0.7272 GB, free: 61.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.021, allocations: 134.2 kB / 0.7273 GB, free: 61.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/1.022, allocations: 55.06 kB / 0.7274 GB, free: 61.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001163/1.023, allocations: 0.9786 MB / 0.7284 GB, free: 60.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.023, allocations: 0 / 0.7284 GB, free: 60.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00257/1.025, allocations: 0.9628 MB / 0.7293 GB, free: 60.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * 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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003326/1.026, allocations: 227.6 kB / 0.7295 GB, free: 60.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/1.028, allocations: 1.911 MB / 0.7314 GB, free: 60.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.028, allocations: 7.688 kB / 0.7314 GB, free: 60.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/1.029, allocations: 0.6225 MB / 0.732 GB, free: 60.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/1.034, allocations: 375 kB / 0.7324 GB, free: 60.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/1.044, allocations: 8.316 MB / 0.7405 GB, free: 56.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/1.046, allocations: 2.987 MB / 0.7434 GB, free: 55.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.046, allocations: 134.1 kB / 0.7435 GB, free: 55.23 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/1.046, allocations: 0 / 0.7435 GB, free: 55.23 MB / 442.7 MB Notification: Performance of Templates: time 0.04462/1.091, allocations: 38.19 MB / 0.7808 GB, free: 39.11 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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 OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarTypes.h:26:9: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24iType' typedef _omcQComplexOutput_24currentSensor_24currentSensor_24iType _omcQComplexOutput_24currentSensor_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarTypes.h:27:9: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' typedef _omcQComplexOutput_24currentSensor_24iType _omcQComplexOutput_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarTypes.h:28:9: error: unknown type name '_omcQComplexOutput_24currentSensor0_24iType' typedef _omcQComplexOutput_24currentSensor0_24iType _omcQComplexOutput_24currentSensor0_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarTypes.h:29:9: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType' typedef _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.h:18:105: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentSensor_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentSensor_24currentSensor_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.h:19:89: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentSensor_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.h:20:90: error: unknown type name '_omcQComplexOutput_24currentSensor0_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentSensor0_24i(double re_, double im_,_omcQComplexOutput_24currentSensor0_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.h:21:113: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType' void /*RecordTypetest*/ _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower(double re_, double im_,_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.cpp:54:96: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentSensor_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentSensor_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.cpp:62:80: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.cpp:70:81: error: unknown type name '_omcQComplexOutput_24currentSensor0_24iType' void Functions::_omcQComplexOutput_24currentSensor0_24i(double re_, double im_, _omcQComplexOutput_24currentSensor0_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarFunctions.cpp:78:104: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType' void Functions::_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower(double re_, double im_, _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPowerType& output) ^ 12 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o] Error 1