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.001484/0.001484, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008546/0.0008544, allocations: 97.67 kB / 297.5 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.3751/0.3751, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002993, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4088, allocations: 62.96 MB / 0.5184 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5604, allocations: 112.1 MB / 0.6279 GB, free: 9.117 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5607, allocations: 91.92 kB / 0.628 GB, free: 9.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526/2.087, allocations: 407.2 MB / 1.026 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.988e-06/2.087, allocations: 4 kB / 1.026 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001488/2.089, allocations: 247.8 kB / 1.026 GB, free: 44.79 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.04887/2.137, allocations: 10.76 MB / 1.036 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/2.138, allocations: 8.031 kB / 1.036 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04288/2.18, allocations: 7.786 MB / 1.044 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/2.202, allocations: 7.76 MB / 1.052 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/2.203, allocations: 0.8362 MB / 1.052 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006449/2.21, allocations: 1.105 MB / 1.054 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0712/2.281, allocations: 19.78 MB / 1.073 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008063/2.282, allocations: 11.91 kB / 1.073 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006173/2.288, allocations: 484 kB / 1.073 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00146/2.29, allocations: 0.9192 MB / 1.074 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5583/2.848, allocations: 17.7 MB / 1.091 GB, free: 68.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1556/3.004, allocations: 60.62 MB / 1.151 GB, free: 60.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/3.024, allocations: 16.58 MB / 1.167 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007439/3.032, allocations: 4.469 MB / 1.171 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/3.032, allocations: 321.2 kB / 1.172 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.944e-05/3.032, allocations: 105.6 kB / 1.172 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 8.866e-06/3.032, allocations: 0 / 1.172 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02128/3.054, allocations: 12.28 MB / 1.184 GB, free: 45.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/3.054, allocations: 123.5 kB / 1.184 GB, free: 45.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01496/3.069, allocations: 8.553 MB / 1.192 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/3.07, allocations: 133.4 kB / 1.192 GB, free: 42.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003946/3.074, allocations: 4.482 MB / 1.197 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00281/3.077, allocations: 2.189 MB / 1.199 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006068/3.078, allocations: 153.2 kB / 1.199 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004247/3.078, allocations: 0.6193 MB / 1.2 GB, free: 36.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005502/3.084, allocations: 4.067 MB / 1.203 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007146/3.091, allocations: 6.877 MB / 1.21 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/3.106, allocations: 11.87 MB / 1.222 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001845/3.106, allocations: 25.34 kB / 1.222 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02578/3.132, allocations: 11.93 MB / 1.233 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/3.132, allocations: 45.5 kB / 1.234 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/3.132, allocations: 89.59 kB / 1.234 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009558/3.133, allocations: 411.9 kB / 1.234 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008013/3.141, allocations: 2.008 MB / 1.236 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/3.146, allocations: 8.913 MB / 1.245 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008467/3.155, allocations: 1.354 MB / 1.246 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/3.157, allocations: 375.9 kB / 1.246 GB, free: 9.617 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.0104/3.167, allocations: 4.577 MB / 1.251 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/3.169, allocations: 0.7098 MB / 1.251 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/3.186, allocations: 10.58 MB / 1.262 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.05e-05/3.187, allocations: 68 kB / 1.262 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/3.187, allocations: 0 / 1.262 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/3.187, allocations: 31.22 kB / 1.262 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7694/3.956, allocations: 158.5 MB / 1.417 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005294/3.957, allocations: 83.59 kB / 1.417 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007184/3.964, allocations: 1.541 MB / 1.418 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/3.965, allocations: 384.7 kB / 1.419 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001831/3.967, allocations: 244.7 kB / 1.419 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/3.973, allocations: 8.793 MB / 1.427 GB, free: 92.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001052/3.973, allocations: 137.8 kB / 1.428 GB, free: 92.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/4.003, allocations: 18.46 MB / 1.446 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005302/4.008, allocations: 1.244 MB / 1.447 GB, free: 78.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004293/4.013, allocations: 244.1 kB / 1.447 GB, free: 78.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008672/4.022, allocations: 0.5674 MB / 1.448 GB, free: 77.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002937/4.024, allocations: 0.7273 MB / 1.448 GB, free: 77.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001345/4.026, allocations: 309.9 kB / 1.449 GB, free: 77.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01418/4.04, allocations: 6.001 MB / 1.455 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/4.04, allocations: 3.094 kB / 1.455 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01533/4.055, allocations: 2.635 MB / 1.457 GB, free: 69.82 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.002975/4.058, allocations: 0.498 MB / 1.458 GB, free: 69.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02127/4.08, allocations: 10.31 MB / 1.468 GB, free: 61.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 0.0001208/4.08, allocations: 12.38 kB / 1.468 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/4.092, allocations: 5.426 MB / 1.473 GB, free: 56.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08579/4.178, allocations: 1.483 MB / 1.474 GB, free: 55.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05576/4.233, allocations: 27.95 MB / 1.502 GB, free: 28.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/4.246, allocations: 7.767 MB / 1.509 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01224/4.258, allocations: 3.586 MB / 1.513 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003146/4.262, allocations: 0.5817 MB / 1.513 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/4.262, allocations: 0 / 1.513 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.6034/4.865, allocations: 96.29 MB / 1.607 GB, free: 89.34 MB / 0.5886 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 -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_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:26: ./ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.o] Error 1