Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009382/0.0009383, allocations: 99.94 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3063/0.3063, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3309, allocations: 63.24 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4604, allocations: 112.2 MB / 0.6287 GB, free: 9.414 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4607, allocations: 83.95 kB / 0.6288 GB, free: 9.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152/1.613, allocations: 408.4 MB / 1.028 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/1.613, allocations: 0 / 1.028 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004646/1.614, allocations: 243.2 kB / 1.028 GB, free: 73.74 MB / 0.5417 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.028/1.642, allocations: 10.88 MB / 1.039 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.642, allocations: 7.531 kB / 1.039 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03623/1.678, allocations: 7.787 MB / 1.046 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.693, allocations: 7.677 MB / 1.054 GB, free: 59.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/1.694, allocations: 0.8359 MB / 1.054 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/1.696, allocations: 1.097 MB / 1.056 GB, free: 57.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/1.723, allocations: 19.68 MB / 1.075 GB, free: 37.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/1.723, allocations: 11.91 kB / 1.075 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.725, allocations: 488.6 kB / 1.075 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006126/1.725, allocations: 0.9231 MB / 1.076 GB, free: 36.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02844/1.754, allocations: 17.7 MB / 1.093 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/2.118, allocations: 60.58 MB / 1.153 GB, free: 53.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/2.136, allocations: 16.58 MB / 1.169 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/2.137, allocations: 321.2 kB / 1.169 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.604e-05/2.137, allocations: 105.8 kB / 1.169 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 1.115e-05/2.137, allocations: 1.25 kB / 1.169 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.01915/2.156, allocations: 12.31 MB / 1.181 GB, free: 45.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/2.156, allocations: 125 kB / 1.181 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/2.167, allocations: 7.811 MB / 1.189 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005979/2.167, allocations: 132.8 kB / 1.189 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/2.17, allocations: 4.484 MB / 1.193 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/2.171, allocations: 2.185 MB / 1.196 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/2.172, allocations: 152.4 kB / 1.196 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00031/2.172, allocations: 0.6252 MB / 1.196 GB, free: 41.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/2.177, allocations: 4.064 MB / 1.2 GB, free: 41.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005445/2.182, allocations: 6.838 MB / 1.207 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/2.188, allocations: 5.561 MB / 1.212 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.681e-05/2.188, allocations: 27.88 kB / 1.212 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01462/2.203, allocations: 11.93 MB / 1.224 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/2.203, allocations: 44.38 kB / 1.224 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/2.203, allocations: 93.56 kB / 1.224 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/2.204, allocations: 423.4 kB / 1.225 GB, free: 34.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/2.21, allocations: 2.009 MB / 1.227 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/2.215, allocations: 8.992 MB / 1.235 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/2.222, allocations: 1.351 MB / 1.237 GB, free: 25.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/2.223, allocations: 376.5 kB / 1.237 GB, free: 25.7 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.008058/2.231, allocations: 4.586 MB / 1.242 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/2.233, allocations: 0.6987 MB / 1.242 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/2.249, allocations: 10.57 MB / 1.253 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/2.249, allocations: 70 kB / 1.253 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/2.249, allocations: 3.953 kB / 1.253 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.218e-05/2.249, allocations: 31.83 kB / 1.253 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4808/2.73, allocations: 158.5 MB / 1.407 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.774e-05/2.73, allocations: 88.44 kB / 1.408 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004803/2.735, allocations: 1.54 MB / 1.409 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/2.736, allocations: 396.5 kB / 1.409 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004246/2.736, allocations: 242.2 kB / 1.41 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/2.741, allocations: 8.879 MB / 1.418 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-05/2.741, allocations: 131.4 kB / 1.418 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/2.762, allocations: 33.7 MB / 1.451 GB, free: 80.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/2.766, allocations: 1.247 MB / 1.453 GB, free: 80.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009849/2.767, allocations: 238.3 kB / 1.453 GB, free: 80.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/2.771, allocations: 0.5676 MB / 1.453 GB, free: 79.99 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008434/2.772, allocations: 0.7234 MB / 1.454 GB, free: 79.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004292/2.772, allocations: 306.4 kB / 1.454 GB, free: 79.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007855/2.78, allocations: 6 MB / 1.46 GB, free: 77.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.78, allocations: 0 / 1.46 GB, free: 77.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007584/2.787, allocations: 2.636 MB / 1.463 GB, free: 77.25 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.0008155/2.788, allocations: 0.5146 MB / 1.463 GB, free: 77.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.801, allocations: 10.31 MB / 1.473 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.801e-05/2.801, allocations: 12.19 kB / 1.473 GB, free: 72.53 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006445/2.808, allocations: 5.431 MB / 1.479 GB, free: 67.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007837/2.816, allocations: 1.355 MB / 1.48 GB, free: 66.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04312/2.859, allocations: 27.88 MB / 1.507 GB, free: 40.39 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/2.871, allocations: 7.945 MB / 1.515 GB, free: 34.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01107/2.882, allocations: 3.586 MB / 1.518 GB, free: 31.99 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/2.885, allocations: 0.584 MB / 1.519 GB, free: 31.44 MB / 0.5886 GB Notification: Performance of SimCode: time 1.113e-06/2.885, allocations: 3.281 kB / 1.519 GB, free: 31.44 MB / 0.5886 GB Notification: Performance of Templates: time 0.6807/3.566, allocations: 95.71 MB / 1.613 GB, free: 81.82 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.c In file included from ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_model.h:24: ./ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.o] Error 1