Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.5 MB / 244.1 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007872, allocations: 97.94 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3457/0.3457, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002948, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3202, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4606, allocations: 117 MB / 0.6307 GB, free: 4.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4609, allocations: 83.95 kB / 0.6308 GB, free: 4.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.899/2.359, allocations: 493.3 MB / 1.113 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.398e-06/2.36, allocations: 0 / 1.113 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.001665/2.361, allocations: 296.9 kB / 1.113 GB, free: 64.43 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06211/2.423, allocations: 13.82 MB / 1.126 GB, free: 60.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/2.423, allocations: 9.344 kB / 1.126 GB, free: 60.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04425/2.468, allocations: 7.918 MB / 1.134 GB, free: 59.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/2.496, allocations: 9.197 MB / 1.143 GB, free: 58.56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/2.498, allocations: 0.9941 MB / 1.144 GB, free: 58.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00824/2.506, allocations: 1.291 MB / 1.145 GB, free: 58.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07997/2.586, allocations: 23.35 MB / 1.168 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009227/2.587, allocations: 14.41 kB / 1.168 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007754/2.595, allocations: 0.564 MB / 1.169 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/2.596, allocations: 1.024 MB / 1.17 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05575/2.652, allocations: 20.02 MB / 1.189 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1572/2.809, allocations: 73.2 MB / 1.261 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/2.839, allocations: 28.63 MB / 1.289 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4543/3.294, allocations: 5.539 MB / 1.294 GB, free: 79.15 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.036/3.33, allocations: 16.58 MB / 1.31 GB, free: 76.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.893e-05/3.33, allocations: 90.59 kB / 1.31 GB, free: 76.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=465): time 7.664e-06/3.33, allocations: 0 / 1.31 GB, free: 76.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=465): time 0.03889/3.369, allocations: 16.03 MB / 1.326 GB, free: 76.31 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/3.369, allocations: 134.1 kB / 1.326 GB, free: 76.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/3.379, allocations: 5.082 MB / 1.331 GB, free: 75.92 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001286/3.38, allocations: 99.55 kB / 1.331 GB, free: 75.89 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/3.385, allocations: 5.857 MB / 1.337 GB, free: 73.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002634/3.388, allocations: 1.579 MB / 1.338 GB, free: 72.31 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000745/3.388, allocations: 146.5 kB / 1.339 GB, free: 72.31 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005085/3.389, allocations: 0.621 MB / 1.339 GB, free: 71.99 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006587/3.396, allocations: 4.113 MB / 1.343 GB, free: 71.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/3.406, allocations: 7.166 MB / 1.35 GB, free: 68.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/3.424, allocations: 11.82 MB / 1.362 GB, free: 64.31 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001784/3.424, allocations: 28 kB / 1.362 GB, free: 64.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02662/3.451, allocations: 13.01 MB / 1.374 GB, free: 63.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/3.451, allocations: 52.69 kB / 1.375 GB, free: 63.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003589/3.452, allocations: 107.6 kB / 1.375 GB, free: 63.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006912/3.459, allocations: 3.078 MB / 1.378 GB, free: 63.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/3.466, allocations: 1.581 MB / 1.379 GB, free: 63.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009027/3.475, allocations: 6.46 MB / 1.385 GB, free: 62.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/3.486, allocations: 1.059 MB / 1.387 GB, free: 61.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002864/3.489, allocations: 381.5 kB / 1.387 GB, free: 61.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 799 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01517/3.504, allocations: 5.37 MB / 1.392 GB, free: 61.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/3.506, allocations: 0.495 MB / 1.393 GB, free: 61.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/3.529, allocations: 9.628 MB / 1.402 GB, free: 57.44 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-05/3.529, allocations: 47 kB / 1.402 GB, free: 57.44 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/3.529, allocations: 3.062 kB / 1.402 GB, free: 57.44 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/3.529, allocations: 33.39 kB / 1.402 GB, free: 57.44 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05375/3.583, allocations: 20.74 MB / 1.422 GB, free: 49.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/3.583, allocations: 3.422 kB / 1.422 GB, free: 49.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003826/3.587, allocations: 0.7386 MB / 1.423 GB, free: 49.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006766/3.594, allocations: 2.969 MB / 1.426 GB, free: 49.04 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001388/3.595, allocations: 96.88 kB / 1.426 GB, free: 48.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008448/3.604, allocations: 6.266 MB / 1.432 GB, free: 45.78 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/3.604, allocations: 7.594 kB / 1.432 GB, free: 45.77 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02407/3.628, allocations: 14.13 MB / 1.446 GB, free: 37.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/3.633, allocations: 1.393 MB / 1.447 GB, free: 35.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/3.635, allocations: 87.56 kB / 1.447 GB, free: 35.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/3.639, allocations: 388.6 kB / 1.448 GB, free: 35.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/3.64, allocations: 315.2 kB / 1.448 GB, free: 35.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003779/3.64, allocations: 131.4 kB / 1.448 GB, free: 35.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006712/3.647, allocations: 3.401 MB / 1.452 GB, free: 32.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/3.647, allocations: 0 / 1.452 GB, free: 32.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0132/3.66, allocations: 3.201 MB / 1.455 GB, free: 29.28 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/3.662, allocations: 271.4 kB / 1.455 GB, free: 29.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0195/3.682, allocations: 10.11 MB / 1.465 GB, free: 20.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/3.682, allocations: 4.062 kB / 1.465 GB, free: 20.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/3.693, allocations: 4.738 MB / 1.469 GB, free: 16.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/3.704, allocations: 1.206 MB / 1.471 GB, free: 15.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08564/3.79, allocations: 29.8 MB / 1.5 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4358/4.226, allocations: 9.344 MB / 1.509 GB, free: 80 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/4.228, allocations: 428.6 kB / 1.509 GB, free: 80 MB / 0.5886 GB Notification: Performance of SimCode: time 1.834e-06/4.228, allocations: 0.5312 kB / 1.509 GB, free: 80 MB / 0.5886 GB Notification: Performance of Templates: time 0.9095/5.138, allocations: 380.7 MB / 1.881 GB, free: 67.95 MB / 0.6198 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.IdealCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealTypes.h:28:9: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24iType' typedef _omcQComplexOutput_24currentSensor_24currentSensor_24iType _omcQComplexOutput_24currentSensor_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealTypes.h:29:9: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' typedef _omcQComplexOutput_24currentSensor_24iType _omcQComplexOutput_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.cpp:16: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealFunctions.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 ); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealFunctions.h:19:89: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentSensor_24iType &output ); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealFunctions.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) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealFunctions.cpp:62:80: error: unknown type name '_omcQComplexOutput_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentSensor_24iType& output) ^ 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.o] Error 1