Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008607/0.0008606, allocations: 179.8 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 242.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.00089, allocations: 95.61 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3198/0.3198, allocations: 44.15 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 61.88 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4621, allocations: 111.2 MB / 0.6193 GB, free: 15.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4624, allocations: 91.94 kB / 0.6194 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115/1.578, allocations: 386.8 MB / 0.9971 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/1.578, allocations: 0 / 0.9971 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007579/1.579, allocations: 253.4 kB / 0.9973 GB, free: 68.66 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.03607/1.615, allocations: 10.76 MB / 1.008 GB, free: 64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.615, allocations: 17.62 kB / 1.008 GB, free: 64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03795/1.653, allocations: 7.786 MB / 1.015 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/1.67, allocations: 7.756 MB / 1.023 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008613/1.671, allocations: 0.8362 MB / 1.024 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004786/1.676, allocations: 1.106 MB / 1.025 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/1.723, allocations: 19.78 MB / 1.044 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000626/1.724, allocations: 15.84 kB / 1.044 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003852/1.728, allocations: 489 kB / 1.045 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/1.729, allocations: 0.9192 MB / 1.046 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03716/1.766, allocations: 17.7 MB / 1.063 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4049/2.171, allocations: 60.37 MB / 1.122 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/2.19, allocations: 16.58 MB / 1.138 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006828/2.197, allocations: 4.468 MB / 1.142 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/2.198, allocations: 238.7 kB / 1.143 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.734e-05/2.198, allocations: 110 kB / 1.143 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 8.386e-06/2.198, allocations: 0 / 1.143 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01771/2.216, allocations: 12.28 MB / 1.155 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/2.216, allocations: 121.1 kB / 1.155 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/2.227, allocations: 8.548 MB / 1.163 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.228, allocations: 134.8 kB / 1.163 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002922/2.231, allocations: 4.484 MB / 1.168 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002176/2.233, allocations: 2.186 MB / 1.17 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/2.234, allocations: 154.8 kB / 1.17 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004024/2.234, allocations: 0.6186 MB / 1.171 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/2.24, allocations: 4.066 MB / 1.175 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007462/2.247, allocations: 6.871 MB / 1.181 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/2.261, allocations: 11.87 MB / 1.193 GB, free: 27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/2.261, allocations: 25.12 kB / 1.193 GB, free: 27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02048/2.282, allocations: 11.94 MB / 1.205 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/2.282, allocations: 47.59 kB / 1.205 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/2.282, allocations: 89.94 kB / 1.205 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/2.283, allocations: 410.2 kB / 1.205 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/2.29, allocations: 2.005 MB / 1.207 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/2.296, allocations: 8.912 MB / 1.216 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00732/2.303, allocations: 1.356 MB / 1.217 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.305, allocations: 377 kB / 1.217 GB, free: 13.64 MB / 0.5261 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.01064/2.315, allocations: 4.577 MB / 1.222 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/2.318, allocations: 0.705 MB / 1.223 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/2.339, allocations: 10.55 MB / 1.233 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.196e-05/2.339, allocations: 70.86 kB / 1.233 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/2.339, allocations: 4 kB / 1.233 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001659/2.339, allocations: 31.97 kB / 1.233 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5041/2.843, allocations: 153.6 MB / 1.383 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001838/2.843, allocations: 87.84 kB / 1.383 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005305/2.849, allocations: 1.54 MB / 1.385 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008072/2.849, allocations: 385.7 kB / 1.385 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006136/2.85, allocations: 244.3 kB / 1.385 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/2.855, allocations: 8.798 MB / 1.394 GB, free: 94.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.165e-05/2.855, allocations: 136.2 kB / 1.394 GB, free: 94.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/2.88, allocations: 18.47 MB / 1.412 GB, free: 83.64 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/2.884, allocations: 1.238 MB / 1.413 GB, free: 82.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00272/2.887, allocations: 250.5 kB / 1.413 GB, free: 82.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006341/2.893, allocations: 0.561 MB / 1.414 GB, free: 82.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001655/2.895, allocations: 0.7353 MB / 1.415 GB, free: 81.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001044/2.896, allocations: 307.4 kB / 1.415 GB, free: 81.24 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0119/2.908, allocations: 5.993 MB / 1.421 GB, free: 76.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.21e-07/2.908, allocations: 0 / 1.421 GB, free: 76.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01207/2.92, allocations: 2.629 MB / 1.423 GB, free: 73.94 MB / 0.573 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.00224/2.922, allocations: 0.5041 MB / 1.424 GB, free: 73.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0195/2.942, allocations: 10.32 MB / 1.434 GB, free: 65.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-05/2.942, allocations: 12 kB / 1.434 GB, free: 65.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/2.954, allocations: 5.417 MB / 1.439 GB, free: 60.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08909/3.043, allocations: 1.486 MB / 1.441 GB, free: 59.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/3.085, allocations: 27.95 MB / 1.468 GB, free: 32.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009633/3.095, allocations: 7.772 MB / 1.476 GB, free: 26.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01164/3.107, allocations: 3.581 MB / 1.479 GB, free: 24.57 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003101/3.11, allocations: 0.5751 MB / 1.48 GB, free: 24.02 MB / 0.573 GB Notification: Performance of SimCode: time 1.553e-06/3.11, allocations: 0 / 1.48 GB, free: 24.02 MB / 0.573 GB Notification: Performance of Templates: time 0.5605/3.67, allocations: 96.26 MB / 1.574 GB, free: 80.98 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=12 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.o ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.c In file included from ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_model.h:26: ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.o] Error 1