Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.259/1.259, allocations: 223.2 MB / 240.3 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.0008384/0.0008384, allocations: 102.8 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002629, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3029, allocations: 89.51 MB / 491 MB, free: 6.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3031, allocations: 91.27 kB / 491.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4362/0.7394, allocations: 152.7 MB / 0.6287 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7394, allocations: 0 / 0.6287 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002422/0.7397, allocations: 95.88 kB / 0.6288 GB, free: 12.8 MB / 410.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.01483/0.7545, allocations: 4.194 MB / 0.6329 GB, free: 8.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7546, allocations: 8.031 kB / 0.6329 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.7602, allocations: 0.9746 MB / 0.6339 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.7663, allocations: 2.732 MB / 0.6365 GB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.7667, allocations: 320.7 kB / 0.6369 GB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.7679, allocations: 424 kB / 0.6373 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.7812, allocations: 6.564 MB / 0.6437 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.7815, allocations: 7.906 kB / 0.6437 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.7825, allocations: 184 kB / 0.6438 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004222/0.7829, allocations: 321.3 kB / 0.6442 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.7936, allocations: 4.73 MB / 0.6488 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2518/1.045, allocations: 20.73 MB / 0.669 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/1.051, allocations: 5.598 MB / 0.6745 GB, free: 63.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/1.052, allocations: 100.4 kB / 0.6746 GB, free: 62.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.052, allocations: 45.75 kB / 0.6746 GB, free: 62.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 3.557e-06/1.052, allocations: 0 / 0.6746 GB, free: 62.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.002531/1.054, allocations: 1.91 MB / 0.6765 GB, free: 62.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/1.054, allocations: 63.47 kB / 0.6765 GB, free: 62.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/1.056, allocations: 1.295 MB / 0.6778 GB, free: 62.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/1.056, allocations: 39.7 kB / 0.6778 GB, free: 62.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.057, allocations: 1.962 MB / 0.6798 GB, free: 61.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.058, allocations: 370.4 kB / 0.6801 GB, free: 61.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/1.058, allocations: 42.94 kB / 0.6802 GB, free: 61.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/1.058, allocations: 458.7 kB / 0.6806 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.059, allocations: 0.8496 MB / 0.6814 GB, free: 60.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.06, allocations: 1.972 MB / 0.6834 GB, free: 59.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.062, allocations: 1.35 MB / 0.6847 GB, free: 59.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/1.062, allocations: 15 kB / 0.6847 GB, free: 59.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003467/1.065, allocations: 2.881 MB / 0.6875 GB, free: 59.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.066, allocations: 22.19 kB / 0.6875 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/1.066, allocations: 38.94 kB / 0.6876 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.551e-05/1.066, allocations: 68.41 kB / 0.6876 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.067, allocations: 0.5339 MB / 0.6881 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/1.067, allocations: 79.92 kB / 0.6882 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.069, allocations: 295.2 kB / 0.6885 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.069, allocations: 123 kB / 0.6886 GB, free: 59.19 MB / 426.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.002374/1.071, allocations: 1.671 MB / 0.6903 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/1.071, allocations: 128.8 kB / 0.6904 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/1.073, allocations: 1.467 MB / 0.6918 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001188/1.075, allocations: 1.036 MB / 0.6928 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.075, allocations: 3.938 kB / 0.6928 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.075, allocations: 3.938 kB / 0.6928 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.088, allocations: 12.28 MB / 0.7048 GB, free: 56.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.088, allocations: 22.66 kB / 0.7048 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/1.089, allocations: 213.5 kB / 0.705 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.268e-05/1.089, allocations: 26.88 kB / 0.7051 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/1.089, allocations: 49.69 kB / 0.7051 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.56e-05/1.089, allocations: 38.31 kB / 0.7052 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/1.089, allocations: 32.64 kB / 0.7052 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/1.092, allocations: 3.791 MB / 0.7089 GB, free: 53.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/1.092, allocations: 342.6 kB / 0.7092 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.093, allocations: 42.55 kB / 0.7093 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/1.093, allocations: 67.27 kB / 0.7093 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.093, allocations: 134.8 kB / 0.7094 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/1.094, allocations: 49.41 kB / 0.7095 GB, free: 53.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001048/1.095, allocations: 0.9821 MB / 0.7105 GB, free: 53.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.095, allocations: 0 / 0.7105 GB, free: 53.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002488/1.097, allocations: 0.9577 MB / 0.7114 GB, free: 53.18 MB / 426.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.0003143/1.097, allocations: 239.8 kB / 0.7116 GB, free: 53.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/1.1, allocations: 1.932 MB / 0.7135 GB, free: 53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.1, allocations: 3.562 kB / 0.7135 GB, free: 53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/1.1, allocations: 0.6342 MB / 0.7141 GB, free: 52.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.102, allocations: 356.5 kB / 0.7145 GB, free: 52.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.112, allocations: 8.426 MB / 0.7227 GB, free: 48.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.114, allocations: 3.142 MB / 0.7258 GB, free: 47.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001934/1.116, allocations: 0.8219 MB / 0.7266 GB, free: 47.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/1.117, allocations: 118.8 kB / 0.7267 GB, free: 47.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/1.117, allocations: 0 / 0.7267 GB, free: 47.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02878/1.145, allocations: 17.43 MB / 0.7437 GB, free: 44.73 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_model.h:24: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o] Error 1