Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 199 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 245.4 MB, free: 6.547 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008821, allocations: 99 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1884, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08813/0.2766, allocations: 85.34 MB / 494 MB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.2768, allocations: 80.64 kB / 494.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03818/0.315, allocations: 17.25 MB / 0.4993 GB, free: 4.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.315, allocations: 4 kB / 0.4993 GB, free: 4.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.315, allocations: 12 kB / 0.4994 GB, free: 4.742 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001672/0.3167, allocations: 0.8154 MB / 0.5002 GB, free: 3.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3168, allocations: 8.031 kB / 0.5002 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.3186, allocations: 312 kB / 0.5005 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.319, allocations: 348.3 kB / 0.5008 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.3191, allocations: 45.69 kB / 0.5008 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.3192, allocations: 60.38 kB / 0.5009 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3203, allocations: 0.7214 MB / 0.5016 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3204, allocations: 7.938 kB / 0.5016 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.3204, allocations: 28 kB / 0.5016 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.3205, allocations: 15.98 kB / 0.5016 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3217, allocations: 0.743 MB / 0.5024 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1663/0.488, allocations: 2.492 MB / 0.5048 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.4895, allocations: 1.257 MB / 0.506 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.4901, allocations: 272.9 kB / 0.5063 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.4902, allocations: 175 kB / 0.5065 GB, free: 86.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4903, allocations: 45.72 kB / 0.5065 GB, free: 86.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4903, allocations: 1.312 kB / 0.5065 GB, free: 86.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001979/0.4923, allocations: 0.9047 MB / 0.5074 GB, free: 86.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4923, allocations: 86.86 kB / 0.5075 GB, free: 86.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.4926, allocations: 266.8 kB / 0.5077 GB, free: 86.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4927, allocations: 31.8 kB / 0.5078 GB, free: 86.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4928, allocations: 243.8 kB / 0.508 GB, free: 86.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4929, allocations: 159.5 kB / 0.5081 GB, free: 86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.4929, allocations: 8.438 kB / 0.5081 GB, free: 86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.493, allocations: 349.6 kB / 0.5085 GB, free: 85.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.4934, allocations: 217.7 kB / 0.5087 GB, free: 85.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.4939, allocations: 340.7 kB / 0.509 GB, free: 85.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.4949, allocations: 0.5639 MB / 0.5096 GB, free: 85.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4949, allocations: 1.312 kB / 0.5096 GB, free: 85.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001531/0.4965, allocations: 0.6707 MB / 0.5102 GB, free: 85.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.4966, allocations: 189.7 kB / 0.5104 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4966, allocations: 4.734 kB / 0.5104 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.4969, allocations: 61.91 kB / 0.5105 GB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4973, allocations: 112.1 kB / 0.5106 GB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.4985, allocations: 1.594 MB / 0.5121 GB, free: 83.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.4988, allocations: 67.67 kB / 0.5122 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.4989, allocations: 25.62 kB / 0.5122 GB, free: 83.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.4989, allocations: 7.531 kB / 0.5122 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/0.4999, allocations: 0.5965 MB / 0.5128 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4999, allocations: 3.531 kB / 0.5128 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.5001, allocations: 49.42 kB / 0.5129 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.5005, allocations: 111.4 kB / 0.513 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.5013, allocations: 1.501 MB / 0.5144 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.5017, allocations: 59.78 kB / 0.5145 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.5017, allocations: 22.2 kB / 0.5145 GB, free: 82.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.502, allocations: 258.9 kB / 0.5148 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.502, allocations: 38 kB / 0.5148 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.5032, allocations: 0.6491 MB / 0.5154 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5032, allocations: 10.97 kB / 0.5154 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5032, allocations: 6.938 kB / 0.5154 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5033, allocations: 0 / 0.5154 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.505, allocations: 1.315 MB / 0.5167 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.505, allocations: 3.938 kB / 0.5167 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.5054, allocations: 98.95 kB / 0.5168 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.5056, allocations: 51.56 kB / 0.5169 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.5056, allocations: 15.38 kB / 0.5169 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.5066, allocations: 1.583 MB / 0.5184 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5067, allocations: 3.938 kB / 0.5184 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.5081, allocations: 0.9952 MB / 0.5194 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.5083, allocations: 145.9 kB / 0.5195 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.5084, allocations: 8 kB / 0.5196 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.5087, allocations: 38.95 kB / 0.5196 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.5088, allocations: 32.72 kB / 0.5196 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5088, allocations: 20.31 kB / 0.5196 GB, free: 79.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.509, allocations: 191.2 kB / 0.5198 GB, free: 79.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.509, allocations: 0 / 0.5198 GB, free: 79.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009224/0.5099, allocations: 268.6 kB / 0.5201 GB, free: 79.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003019/0.5102, allocations: 162.2 kB / 0.5202 GB, free: 79.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.512, allocations: 1.101 MB / 0.5213 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.512, allocations: 3.625 kB / 0.5213 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.5126, allocations: 419.8 kB / 0.5217 GB, free: 78.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.513, allocations: 46.8 kB / 0.5218 GB, free: 78.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.5145, allocations: 1.158 MB / 0.5229 GB, free: 78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.5147, allocations: 0.8298 MB / 0.5237 GB, free: 77.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.5149, allocations: 53.8 kB / 0.5238 GB, free: 77.28 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5149, allocations: 0 / 0.5238 GB, free: 77.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008406/0.5233, allocations: 8.244 MB / 0.5318 GB, free: 76.04 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SinglePhase.Examples.SeriesBodeCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeTypes.h:26:9: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' typedef _omcQComplexOutput_24currentSensor_24iType _omcQComplexOutput_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeTypes.h:27:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeFunctions.h:18: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.SinglePhase.Examples.SeriesBodeFunctions.h:19:89: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24voltageSensor_24vType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeFunctions.cpp:54: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.SinglePhase.Examples.SeriesBodeFunctions.cpp:62:80: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24voltageSensor_24vType& output) ^ 6 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBodeCalcHelperMain.o] Error 1