Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.291/1.291, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0007711/0.0007711, allocations: 88.84 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002338, allocations: 4 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09885/0.332, allocations: 89.56 MB / 491.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3323, allocations: 86.86 kB / 491.1 MB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7541/1.086, allocations: 209.4 MB / 0.6842 GB, free: 61.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.086, allocations: 0 / 0.6842 GB, free: 61.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002019/1.087, allocations: 135.8 kB / 0.6843 GB, free: 61.29 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01663/1.103, allocations: 6.061 MB / 0.6902 GB, free: 59.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.103, allocations: 10 kB / 0.6902 GB, free: 59.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.116, allocations: 2.084 MB / 0.6923 GB, free: 59.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008533/1.125, allocations: 3.839 MB / 0.696 GB, free: 58.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/1.125, allocations: 456.8 kB / 0.6964 GB, free: 58.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/1.128, allocations: 0.5905 MB / 0.697 GB, free: 58.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/1.144, allocations: 9.19 MB / 0.706 GB, free: 57.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.144, allocations: 11.25 kB / 0.706 GB, free: 57.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005949/1.145, allocations: 259.2 kB / 0.7062 GB, free: 57.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/1.145, allocations: 466.8 kB / 0.7067 GB, free: 57.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/1.157, allocations: 7.264 MB / 0.7138 GB, free: 57.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/1.2, allocations: 28.64 MB / 0.7418 GB, free: 43.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008692/1.209, allocations: 11.75 MB / 0.7532 GB, free: 33.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/1.209, allocations: 135.2 kB / 0.7534 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.209, allocations: 62.66 kB / 0.7534 GB, free: 33.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 5.451e-06/1.209, allocations: 0 / 0.7534 GB, free: 33.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.00725/1.216, allocations: 4.791 MB / 0.7581 GB, free: 29.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.217, allocations: 103.1 kB / 0.7582 GB, free: 29.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.219, allocations: 1.695 MB / 0.7599 GB, free: 28.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/1.219, allocations: 65.7 kB / 0.7599 GB, free: 28.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.22, allocations: 2.529 MB / 0.7624 GB, free: 26.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.221, allocations: 0.8444 MB / 0.7632 GB, free: 25.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.221, allocations: 76 kB / 0.7633 GB, free: 25.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/1.221, allocations: 452.5 kB / 0.7637 GB, free: 24.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.223, allocations: 1.454 MB / 0.7651 GB, free: 23.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/1.225, allocations: 2.637 MB / 0.7677 GB, free: 20.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.227, allocations: 2.058 MB / 0.7697 GB, free: 18.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.227, allocations: 19.5 kB / 0.7697 GB, free: 18.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005406/1.233, allocations: 4.624 MB / 0.7743 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.233, allocations: 22.66 kB / 0.7743 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.233, allocations: 36 kB / 0.7743 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/1.233, allocations: 322.9 kB / 0.7746 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.236, allocations: 0.7768 MB / 0.7754 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/1.24, allocations: 4.688 MB / 0.78 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/1.242, allocations: 410.3 kB / 0.7804 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/1.242, allocations: 166 kB / 0.7805 GB, free: 8.609 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003117/1.245, allocations: 2.194 MB / 0.7827 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.245, allocations: 213.3 kB / 0.7829 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/1.25, allocations: 3.325 MB / 0.7861 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.25, allocations: 27.61 kB / 0.7861 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.25, allocations: 4 kB / 0.7861 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/1.25, allocations: 10.36 kB / 0.7861 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.265, allocations: 11.78 MB / 0.7976 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.266, allocations: 16 kB / 0.7977 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.267, allocations: 432.9 kB / 0.7981 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006664/1.268, allocations: 275.4 kB / 0.7983 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.268, allocations: 71.38 kB / 0.7984 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/1.273, allocations: 4.612 MB / 0.8029 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/1.273, allocations: 19.94 kB / 0.8029 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007311/1.28, allocations: 6.062 MB / 0.8088 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/1.281, allocations: 329.5 kB / 0.8092 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.281, allocations: 59.84 kB / 0.8092 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.282, allocations: 125.4 kB / 0.8093 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/1.283, allocations: 199.4 kB / 0.8095 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.283, allocations: 89.3 kB / 0.8096 GB, free: 13.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001785/1.285, allocations: 1.28 MB / 0.8109 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.285, allocations: 0 / 0.8109 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003805/1.289, allocations: 1.449 MB / 0.8123 GB, free: 11.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.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 (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004235/1.289, allocations: 239.4 kB / 0.8125 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005452/1.294, allocations: 3.75 MB / 0.8162 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.294, allocations: 0 / 0.8162 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.297, allocations: 1.765 MB / 0.8179 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.299, allocations: 460.5 kB / 0.8183 GB, free: 5.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2201/1.519, allocations: 12.09 MB / 0.8301 GB, free: 82.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003656/1.523, allocations: 4.105 MB / 0.8342 GB, free: 81.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003178/1.526, allocations: 1.209 MB / 0.8353 GB, free: 81.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/1.527, allocations: 188.7 kB / 0.8355 GB, free: 81.47 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/1.527, allocations: 0 / 0.8355 GB, free: 81.47 MB / 458.7 MB Notification: Performance of Templates: time 0.04621/1.573, allocations: 29.89 MB / 0.8647 GB, free: 80.19 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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_UnsymmetricalLoad -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_model.h:24: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:273:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24currentSensor_24i' _omcQComplexOutput_24currentSensor1_24currentSensor_24i omc__omcQComplexOutput_24currentSensor1_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:282:1: error: unknown type name '_omcQComplexOutput_24currentSensor1_24i' _omcQComplexOutput_24currentSensor1_24i omc__omcQComplexOutput_24currentSensor1_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24currentSensor_24i' _omcQComplexOutput_24currentSensor2_24currentSensor_24i omc__omcQComplexOutput_24currentSensor2_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor2_24i' _omcQComplexOutput_24currentSensor2_24i omc__omcQComplexOutput_24currentSensor2_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensorN_24i' _omcQComplexOutput_24currentSensorN_24i omc__omcQComplexOutput_24currentSensorN_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24voltageSensorN_24v' _omcQComplexOutput_24voltageSensorN_24v omc__omcQComplexOutput_24voltageSensorN_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 6 errors generated. make: *** [: Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.o] Error 1