Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007476/0.0007477, allocations: 100.3 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2898/0.2898, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002634, allocations: 4 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2885, allocations: 62.95 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4161, allocations: 112.1 MB / 0.626 GB, free: 9.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4164, allocations: 87.94 kB / 0.6261 GB, free: 9.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335/1.751, allocations: 407.2 MB / 1.024 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.085e-06/1.751, allocations: 0 / 1.024 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009709/1.752, allocations: 251.8 kB / 1.024 GB, free: 44.69 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03924/1.791, allocations: 10.76 MB / 1.034 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.791, allocations: 8.031 kB / 1.034 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03826/1.83, allocations: 7.793 MB / 1.042 GB, free: 26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0187/1.848, allocations: 7.76 MB / 1.05 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/1.85, allocations: 0.8401 MB / 1.05 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004629/1.854, allocations: 1.097 MB / 1.052 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05555/1.91, allocations: 19.79 MB / 1.071 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007135/1.91, allocations: 15.89 kB / 1.071 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0047/1.915, allocations: 488 kB / 1.071 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/1.916, allocations: 0.9153 MB / 1.072 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3945/2.311, allocations: 17.69 MB / 1.09 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.123/2.434, allocations: 60.62 MB / 1.149 GB, free: 60.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/2.455, allocations: 16.58 MB / 1.165 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007827/2.463, allocations: 4.47 MB / 1.169 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/2.463, allocations: 321.8 kB / 1.17 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/2.464, allocations: 111.9 kB / 1.17 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 9.007e-06/2.464, allocations: 0 / 1.17 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02134/2.485, allocations: 12.27 MB / 1.182 GB, free: 45.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/2.485, allocations: 124.2 kB / 1.182 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/2.498, allocations: 8.548 MB / 1.19 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/2.499, allocations: 135.7 kB / 1.19 GB, free: 42.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003074/2.502, allocations: 4.482 MB / 1.195 GB, free: 39.08 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/2.505, allocations: 2.186 MB / 1.197 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/2.505, allocations: 154.3 kB / 1.197 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004018/2.506, allocations: 0.6181 MB / 1.198 GB, free: 36.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/2.511, allocations: 4.069 MB / 1.202 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/2.519, allocations: 6.87 MB / 1.208 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/2.533, allocations: 11.88 MB / 1.22 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/2.533, allocations: 26.5 kB / 1.22 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02115/2.554, allocations: 11.93 MB / 1.232 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/2.555, allocations: 43.38 kB / 1.232 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/2.555, allocations: 90.16 kB / 1.232 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/2.556, allocations: 409.7 kB / 1.232 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007862/2.564, allocations: 2.005 MB / 1.234 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/2.569, allocations: 8.92 MB / 1.243 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009352/2.579, allocations: 1.355 MB / 1.244 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002491/2.581, allocations: 374.7 kB / 1.244 GB, free: 9.488 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01241/2.594, allocations: 4.586 MB / 1.249 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002596/2.596, allocations: 0.702 MB / 1.25 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/2.619, allocations: 10.54 MB / 1.26 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/2.619, allocations: 68 kB / 1.26 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/2.619, allocations: 11.22 kB / 1.26 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001941/2.62, allocations: 35.91 kB / 1.26 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6134/3.233, allocations: 158.6 MB / 1.415 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000354/3.234, allocations: 88.53 kB / 1.415 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00623/3.24, allocations: 1.539 MB / 1.416 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/3.241, allocations: 380.7 kB / 1.417 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001543/3.242, allocations: 247.4 kB / 1.417 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/3.248, allocations: 8.794 MB / 1.426 GB, free: 92.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.767e-05/3.248, allocations: 135.5 kB / 1.426 GB, free: 92.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/3.278, allocations: 18.47 MB / 1.444 GB, free: 79.46 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003781/3.282, allocations: 1.241 MB / 1.445 GB, free: 78.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003915/3.286, allocations: 245.3 kB / 1.445 GB, free: 78.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008453/3.295, allocations: 0.5668 MB / 1.446 GB, free: 77.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00279/3.297, allocations: 0.7305 MB / 1.446 GB, free: 77.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002184/3.3, allocations: 314.5 kB / 1.447 GB, free: 77.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01333/3.313, allocations: 5.995 MB / 1.453 GB, free: 72.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/3.313, allocations: 0 / 1.453 GB, free: 72.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01404/3.327, allocations: 2.629 MB / 1.455 GB, free: 69.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/3.33, allocations: 0.5017 MB / 1.456 GB, free: 69.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0185/3.349, allocations: 10.31 MB / 1.466 GB, free: 61.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 0.0001069/3.349, allocations: 16.06 kB / 1.466 GB, free: 61.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009692/3.359, allocations: 5.418 MB / 1.471 GB, free: 56.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0869/3.445, allocations: 1.497 MB / 1.473 GB, free: 55.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05991/3.505, allocations: 27.57 MB / 1.499 GB, free: 29.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/3.519, allocations: 7.53 MB / 1.507 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003471/3.522, allocations: 0.6287 MB / 1.507 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/3.522, allocations: 4 kB / 1.507 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of Templates: time 1.942/5.464, allocations: 0.5343 GB / 2.042 GB, free: 136.5 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionTypes.h:28:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionTypes.h:29:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.cpp:16: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionFunctions.h:18:89: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24voltageSensor_24vType &output ); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionFunctions.h:19:105: error: unknown type name '_omcQComplexOutput_24voltageSensor_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24voltageSensor_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24voltageSensor_24voltageSensor_24vType &output ); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionFunctions.cpp:54:80: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24voltageSensor_24vType& output) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionFunctions.cpp:62:96: error: unknown type name '_omcQComplexOutput_24voltageSensor_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24voltageSensor_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24voltageSensor_24voltageSensor_24vType& output) ^ 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.o] Error 1