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.001369/0.001369, allocations: 175.8 kB / 17.4 MB, free: 4.422 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.335/1.335, allocations: 223.3 MB / 241.4 MB, free: 9.848 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.0007884/0.0007887, allocations: 90.36 kB / 292.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 15.94 kB / 352.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 50.4 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09749/0.3005, allocations: 89.6 MB / 492.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3008, allocations: 83.95 kB / 492.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4141/0.7149, allocations: 152.2 MB / 0.6295 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7149, allocations: 0 / 0.6295 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002155/0.7152, allocations: 95.88 kB / 0.6296 GB, free: 13.05 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.01199/0.7272, allocations: 4.155 MB / 0.6336 GB, free: 8.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7272, allocations: 8.031 kB / 0.6336 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.7323, allocations: 0.9872 MB / 0.6346 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.7373, allocations: 2.748 MB / 0.6373 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.7376, allocations: 329 kB / 0.6376 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.7382, allocations: 416.4 kB / 0.638 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.7483, allocations: 6.6 MB / 0.6444 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.924e-05/0.7485, allocations: 7.844 kB / 0.6444 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.7489, allocations: 188 kB / 0.6446 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002795/0.7492, allocations: 321.4 kB / 0.6449 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/0.7568, allocations: 4.738 MB / 0.6496 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2165/0.9733, allocations: 20.74 MB / 0.6698 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.978, allocations: 5.597 MB / 0.6753 GB, free: 62.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009105/0.979, allocations: 0.7198 MB / 0.676 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.9791, allocations: 102.7 kB / 0.6761 GB, free: 62.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.9792, allocations: 42.84 kB / 0.6761 GB, free: 62.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 3.696e-06/0.9792, allocations: 0 / 0.6761 GB, free: 62.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.002229/0.9814, allocations: 1.558 MB / 0.6776 GB, free: 62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9815, allocations: 63.06 kB / 0.6777 GB, free: 61.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.9835, allocations: 1.446 MB / 0.6791 GB, free: 61.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.9836, allocations: 40.8 kB / 0.6792 GB, free: 61.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00078/0.9844, allocations: 1.969 MB / 0.6811 GB, free: 60.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.9846, allocations: 361 kB / 0.6814 GB, free: 60.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.9847, allocations: 42.94 kB / 0.6815 GB, free: 60.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9849, allocations: 462.1 kB / 0.6819 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.9859, allocations: 0.8456 MB / 0.6827 GB, free: 60.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.9876, allocations: 1.982 MB / 0.6847 GB, free: 58.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.9901, allocations: 2.999 MB / 0.6876 GB, free: 57.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.9902, allocations: 11.44 kB / 0.6876 GB, free: 57.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003658/0.9938, allocations: 2.866 MB / 0.6904 GB, free: 57.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.9939, allocations: 22.06 kB / 0.6904 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.9939, allocations: 41.94 kB / 0.6905 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.026e-05/0.994, allocations: 60.81 kB / 0.6905 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9954, allocations: 0.53 MB / 0.691 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.905e-05/0.9955, allocations: 80.62 kB / 0.6911 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.9967, allocations: 289.4 kB / 0.6914 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.9969, allocations: 127.7 kB / 0.6915 GB, free: 57.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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.002244/0.9991, allocations: 1.673 MB / 0.6932 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.9993, allocations: 131.8 kB / 0.6933 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/1.001, allocations: 1.432 MB / 0.6947 GB, free: 56.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001138/1.002, allocations: 1.021 MB / 0.6957 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.002, allocations: 4 kB / 0.6957 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.002, allocations: 7.078 kB / 0.6957 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.016, allocations: 12.05 MB / 0.7074 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.016, allocations: 19.53 kB / 0.7075 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/1.016, allocations: 212 kB / 0.7077 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/1.016, allocations: 24.94 kB / 0.7077 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/1.016, allocations: 51.42 kB / 0.7077 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.115e-05/1.016, allocations: 39.8 kB / 0.7078 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.016, allocations: 30.25 kB / 0.7078 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/1.019, allocations: 2.61 MB / 0.7104 GB, free: 53.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/1.02, allocations: 341.1 kB / 0.7107 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.02, allocations: 55.58 kB / 0.7107 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/1.02, allocations: 61.56 kB / 0.7108 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.021, allocations: 136.7 kB / 0.7109 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/1.021, allocations: 56.92 kB / 0.711 GB, free: 53.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001198/1.022, allocations: 0.9791 MB / 0.7119 GB, free: 52.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.022, allocations: 0 / 0.7119 GB, free: 52.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002658/1.024, allocations: 0.962 MB / 0.7129 GB, free: 52.69 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.0003794/1.025, allocations: 223.2 kB / 0.7131 GB, free: 52.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/1.027, allocations: 1.919 MB / 0.715 GB, free: 52.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.027, allocations: 7.625 kB / 0.715 GB, free: 52.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007189/1.028, allocations: 0.6297 MB / 0.7156 GB, free: 52.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/1.033, allocations: 372.4 kB / 0.7159 GB, free: 52.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.045, allocations: 8.422 MB / 0.7242 GB, free: 48.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/1.047, allocations: 3.075 MB / 0.7272 GB, free: 47.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001949/1.049, allocations: 0.8254 MB / 0.728 GB, free: 47.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/1.049, allocations: 120.5 kB / 0.7281 GB, free: 47.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.049, allocations: 0 / 0.7281 GB, free: 47.26 MB / 426.7 MB Notification: Performance of Templates: time 0.02982/1.079, allocations: 17.53 MB / 0.7452 GB, free: 43.55 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 -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=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:26: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:249: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:258: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:267: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:276: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