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.001217/0.001217, allocations: 177 kB / 17.06 MB, free: 5.094 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.384/1.384, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009379/0.0009376, allocations: 92.92 kB / 292.2 MB, free: 10.93 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.341/0.341, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.000303, allocations: 11.98 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3292, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4647, allocations: 111.1 MB / 0.618 GB, free: 36 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.465, allocations: 91.94 kB / 0.6181 GB, free: 15.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283/1.748, allocations: 388 MB / 0.997 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/1.748, allocations: 0 / 0.997 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000648/1.749, allocations: 244.8 kB / 0.9973 GB, free: 68.59 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.03444/1.783, allocations: 10.88 MB / 1.008 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.784, allocations: 7.5 kB / 1.008 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03955/1.823, allocations: 7.783 MB / 1.015 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.839, allocations: 7.67 MB / 1.023 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/1.84, allocations: 0.8385 MB / 1.024 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/1.843, allocations: 1.096 MB / 1.025 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/1.88, allocations: 19.69 MB / 1.044 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004276/1.881, allocations: 19.81 kB / 1.044 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/1.884, allocations: 486.8 kB / 1.045 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009463/1.885, allocations: 0.9231 MB / 1.045 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03564/1.92, allocations: 17.69 MB / 1.063 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4203/2.341, allocations: 60.34 MB / 1.122 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02319/2.364, allocations: 16.58 MB / 1.138 GB, free: 46.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007629/2.365, allocations: 239.7 kB / 1.138 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/2.365, allocations: 106 kB / 1.138 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.208e-05/2.365, allocations: 2.906 kB / 1.138 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.02529/2.39, allocations: 12.31 MB / 1.15 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/2.39, allocations: 115.4 kB / 1.15 GB, free: 44.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.406, allocations: 7.814 MB / 1.158 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/2.407, allocations: 131.5 kB / 1.158 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006028/2.413, allocations: 4.481 MB / 1.162 GB, free: 43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00385/2.417, allocations: 2.183 MB / 1.165 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/2.419, allocations: 152.1 kB / 1.165 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001054/2.42, allocations: 0.6206 MB / 1.165 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007757/2.428, allocations: 4.063 MB / 1.169 GB, free: 39.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/2.438, allocations: 6.841 MB / 1.176 GB, free: 35.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/2.448, allocations: 5.561 MB / 1.181 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/2.448, allocations: 24.66 kB / 1.181 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02694/2.475, allocations: 11.94 MB / 1.193 GB, free: 29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/2.475, allocations: 46.94 kB / 1.193 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002831/2.475, allocations: 89.97 kB / 1.193 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/2.477, allocations: 424.2 kB / 1.194 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009421/2.486, allocations: 2 MB / 1.196 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/2.493, allocations: 9.002 MB / 1.204 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.503, allocations: 1.354 MB / 1.206 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/2.506, allocations: 371.1 kB / 1.206 GB, free: 19.86 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.01426/2.52, allocations: 4.581 MB / 1.211 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003156/2.523, allocations: 0.7001 MB / 1.211 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02459/2.548, allocations: 10.58 MB / 1.222 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/2.548, allocations: 74.55 kB / 1.222 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/2.548, allocations: 7.469 kB / 1.222 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/2.548, allocations: 30.66 kB / 1.222 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6243/3.172, allocations: 153.9 MB / 1.372 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002614/3.173, allocations: 86.38 kB / 1.372 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006085/3.179, allocations: 1.537 MB / 1.374 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009679/3.18, allocations: 398.3 kB / 1.374 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/3.181, allocations: 240.1 kB / 1.374 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/3.186, allocations: 8.869 MB / 1.383 GB, free: 96.88 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.151e-05/3.186, allocations: 138.5 kB / 1.383 GB, free: 96.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/3.216, allocations: 33.7 MB / 1.416 GB, free: 69.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004683/3.22, allocations: 1.248 MB / 1.417 GB, free: 69.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003957/3.224, allocations: 244.1 kB / 1.417 GB, free: 69.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008388/3.233, allocations: 0.5648 MB / 1.418 GB, free: 69.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003087/3.236, allocations: 0.7238 MB / 1.419 GB, free: 68.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00215/3.238, allocations: 305.9 kB / 1.419 GB, free: 68.89 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01527/3.253, allocations: 6 MB / 1.425 GB, free: 66.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.21e-07/3.253, allocations: 0 / 1.425 GB, free: 66.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01449/3.268, allocations: 2.625 MB / 1.427 GB, free: 65.25 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.002983/3.271, allocations: 0.4982 MB / 1.428 GB, free: 64.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0193/3.29, allocations: 10.32 MB / 1.438 GB, free: 56.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.842e-05/3.29, allocations: 12.19 kB / 1.438 GB, free: 56.49 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009958/3.3, allocations: 5.426 MB / 1.443 GB, free: 51.89 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/3.312, allocations: 1.358 MB / 1.444 GB, free: 50.78 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05639/3.368, allocations: 27.87 MB / 1.472 GB, free: 24.42 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01808/3.386, allocations: 7.956 MB / 1.479 GB, free: 18.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01396/3.4, allocations: 3.581 MB / 1.483 GB, free: 16.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004007/3.405, allocations: 0.5804 MB / 1.484 GB, free: 15.47 MB / 0.573 GB Notification: Performance of SimCode: time 1.633e-06/3.405, allocations: 0 / 1.484 GB, free: 15.47 MB / 0.573 GB Notification: Performance of Templates: time 0.9309/4.335, allocations: 95.68 MB / 1.577 GB, free: 89.28 MB / 0.5887 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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:24: ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_functions.h:309: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:318: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