Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008153, allocations: 106.3 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002057/0.0002058, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1922, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09958/0.2918, allocations: 90.38 MB / 499.8 MB, free: 248 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.2921, allocations: 87.95 kB / 499.9 MB, free: 160 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.44/0.7321, allocations: 161.2 MB / 0.6456 GB, free: 9.418 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7321, allocations: 0 / 0.6456 GB, free: 9.418 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.7323, allocations: 99.81 kB / 0.6457 GB, free: 9.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01321/0.7456, allocations: 4.221 MB / 0.6498 GB, free: 5.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.7456, allocations: 12.03 kB / 0.6498 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/0.7511, allocations: 0.9825 MB / 0.6508 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006105/0.7573, allocations: 2.728 MB / 0.6534 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.7576, allocations: 328.6 kB / 0.6538 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.7587, allocations: 423.9 kB / 0.6542 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.7716, allocations: 6.56 MB / 0.6606 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.7718, allocations: 0 / 0.6606 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008029/0.7726, allocations: 184 kB / 0.6607 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003209/0.7729, allocations: 321.4 kB / 0.6611 GB, free: 9.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008125/0.7811, allocations: 4.73 MB / 0.6657 GB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2202/1.001, allocations: 20.98 MB / 0.6862 GB, free: 76.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/1.006, allocations: 5.583 MB / 0.6916 GB, free: 72.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/1.006, allocations: 190.8 kB / 0.6918 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.006, allocations: 44.55 kB / 0.6918 GB, free: 71.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.687e-06/1.006, allocations: 0 / 0.6918 GB, free: 71.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002027/1.008, allocations: 1.91 MB / 0.6937 GB, free: 71.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/1.009, allocations: 66.06 kB / 0.6938 GB, free: 71.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/1.01, allocations: 1.301 MB / 0.695 GB, free: 71.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/1.01, allocations: 40.14 kB / 0.6951 GB, free: 71.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.011, allocations: 1.96 MB / 0.697 GB, free: 70.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/1.011, allocations: 368.8 kB / 0.6973 GB, free: 70.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/1.012, allocations: 44.84 kB / 0.6974 GB, free: 70.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/1.012, allocations: 456.4 kB / 0.6978 GB, free: 69.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.013, allocations: 0.856 MB / 0.6986 GB, free: 69.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.014, allocations: 1.963 MB / 0.7006 GB, free: 68.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.016, allocations: 1.353 MB / 0.7019 GB, free: 68.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.016, allocations: 17 kB / 0.7019 GB, free: 68.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003117/1.019, allocations: 2.88 MB / 0.7047 GB, free: 68.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.019, allocations: 27.67 kB / 0.7047 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.019, allocations: 37.12 kB / 0.7048 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-05/1.019, allocations: 63.91 kB / 0.7048 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.02, allocations: 0.5364 MB / 0.7054 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/1.02, allocations: 78.14 kB / 0.7054 GB, free: 68.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.021, allocations: 302.7 kB / 0.7057 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.022, allocations: 124.3 kB / 0.7058 GB, free: 68.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00195/1.024, allocations: 1.667 MB / 0.7075 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.024, allocations: 133.2 kB / 0.7076 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.026, allocations: 1.462 MB / 0.709 GB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001211/1.027, allocations: 1.036 MB / 0.71 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.027, allocations: 0 / 0.71 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.027, allocations: 3.562 kB / 0.71 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.04, allocations: 13.57 MB / 0.7233 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.04, allocations: 21.81 kB / 0.7233 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/1.041, allocations: 213.8 kB / 0.7235 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/1.041, allocations: 28.34 kB / 0.7235 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/1.041, allocations: 45.69 kB / 0.7236 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/1.041, allocations: 36.91 kB / 0.7236 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/1.041, allocations: 33.59 kB / 0.7237 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/1.043, allocations: 3.79 MB / 0.7274 GB, free: 61.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/1.044, allocations: 339.9 kB / 0.7277 GB, free: 60.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.044, allocations: 52.58 kB / 0.7277 GB, free: 60.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/1.045, allocations: 68.28 kB / 0.7278 GB, free: 60.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.045, allocations: 131.9 kB / 0.7279 GB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/1.045, allocations: 51.5 kB / 0.728 GB, free: 60.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001045/1.046, allocations: 0.9802 MB / 0.7289 GB, free: 60.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.046, allocations: 0 / 0.7289 GB, free: 60.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002436/1.049, allocations: 0.9651 MB / 0.7299 GB, free: 60.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/1.049, allocations: 217.4 kB / 0.7301 GB, free: 60.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/1.051, allocations: 1.943 MB / 0.732 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.051, allocations: 0 / 0.732 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/1.052, allocations: 0.6442 MB / 0.7326 GB, free: 60.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.053, allocations: 358 kB / 0.7329 GB, free: 60.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/1.062, allocations: 8.413 MB / 0.7412 GB, free: 55.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/1.064, allocations: 3.144 MB / 0.7442 GB, free: 55.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001786/1.066, allocations: 0.8221 MB / 0.745 GB, free: 55.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.066, allocations: 114 kB / 0.7451 GB, free: 55.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.066, allocations: 0 / 0.7451 GB, free: 55.03 MB / 442.7 MB Notification: Performance of Templates: time 0.02463/1.091, allocations: 17.34 MB / 0.7621 GB, free: 50.95 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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=Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_model.h:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:263:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:272:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:281:1: error: unknown type name '_omcQComplexOutput_24currentSensor0_24i' _omcQComplexOutput_24currentSensor0_24i omc__omcQComplexOutput_24currentSensor0_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:290:1: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 4 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o] Error 1