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.001324/0.001324, allocations: 176.2 kB / 17.4 MB, free: 4.418 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.294/1.294, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.001106/0.001106, allocations: 106 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004406, allocations: 12 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09632/0.3249, allocations: 89.65 MB / 492.4 MB, free: 6.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.3252, allocations: 85.2 kB / 492.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.793/1.118, allocations: 207.6 MB / 0.6836 GB, free: 60.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.694e-06/1.118, allocations: 0 / 0.6836 GB, free: 60.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002474/1.119, allocations: 135.5 kB / 0.6838 GB, free: 60.95 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.0174/1.136, allocations: 5.995 MB / 0.6896 GB, free: 59.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.136, allocations: 8.688 kB / 0.6896 GB, free: 59.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.148, allocations: 2.099 MB / 0.6917 GB, free: 58.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007809/1.156, allocations: 3.883 MB / 0.6955 GB, free: 58.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.157, allocations: 454.4 kB / 0.6959 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/1.159, allocations: 0.5806 MB / 0.6965 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/1.177, allocations: 9.234 MB / 0.7055 GB, free: 57.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/1.178, allocations: 14.86 kB / 0.7055 GB, free: 57.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009029/1.178, allocations: 262 kB / 0.7058 GB, free: 57.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003426/1.179, allocations: 462.9 kB / 0.7062 GB, free: 57.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.192, allocations: 7.265 MB / 0.7133 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/1.233, allocations: 28.68 MB / 0.7413 GB, free: 43.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008014/1.241, allocations: 11.75 MB / 0.7528 GB, free: 33.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/1.243, allocations: 1.66 MB / 0.7544 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.243, allocations: 134.8 kB / 0.7545 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.243, allocations: 58.84 kB / 0.7546 GB, free: 32.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.148e-06/1.243, allocations: 0 / 0.7546 GB, free: 32.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.006695/1.25, allocations: 4.354 MB / 0.7588 GB, free: 29.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.25, allocations: 99.11 kB / 0.7589 GB, free: 29.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.253, allocations: 1.885 MB / 0.7608 GB, free: 27.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.253, allocations: 65.7 kB / 0.7608 GB, free: 27.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/1.254, allocations: 2.529 MB / 0.7633 GB, free: 25.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/1.254, allocations: 0.8425 MB / 0.7641 GB, free: 24.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/1.254, allocations: 72 kB / 0.7642 GB, free: 24.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/1.254, allocations: 459.7 kB / 0.7646 GB, free: 24.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.256, allocations: 1.446 MB / 0.766 GB, free: 23.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/1.258, allocations: 2.65 MB / 0.7686 GB, free: 20.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/1.262, allocations: 4.33 MB / 0.7729 GB, free: 15.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.262, allocations: 12 kB / 0.7729 GB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005737/1.268, allocations: 4.624 MB / 0.7774 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/1.268, allocations: 23.19 kB / 0.7774 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/1.268, allocations: 40 kB / 0.7774 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/1.269, allocations: 313.8 kB / 0.7777 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/1.271, allocations: 0.7753 MB / 0.7785 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.275, allocations: 4.644 MB / 0.783 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.278, allocations: 406.4 kB / 0.7834 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/1.278, allocations: 167.5 kB / 0.7836 GB, free: 5.539 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.003496/1.282, allocations: 2.193 MB / 0.7857 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/1.282, allocations: 213.4 kB / 0.7859 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.286, allocations: 3.314 MB / 0.7892 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.286, allocations: 24 kB / 0.7892 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.286, allocations: 4 kB / 0.7892 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.286, allocations: 15.05 kB / 0.7892 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.305, allocations: 11.9 MB / 0.8008 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.305, allocations: 16 kB / 0.8008 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.306, allocations: 441.5 kB / 0.8013 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006747/1.307, allocations: 272.5 kB / 0.8015 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.307, allocations: 67.47 kB / 0.8016 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/1.312, allocations: 4.552 MB / 0.806 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.312, allocations: 23.88 kB / 0.8061 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.323, allocations: 5.49 MB / 0.8114 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/1.324, allocations: 336.8 kB / 0.8117 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.324, allocations: 67.33 kB / 0.8118 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.325, allocations: 126.8 kB / 0.8119 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.326, allocations: 206.4 kB / 0.8121 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.326, allocations: 87.94 kB / 0.8122 GB, free: 12.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001805/1.328, allocations: 1.272 MB / 0.8134 GB, free: 11.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.328, allocations: 4 kB / 0.8134 GB, free: 11.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00375/1.332, allocations: 1.45 MB / 0.8149 GB, free: 9.734 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (232): * Single equations (assignments): 224 * 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.0004642/1.332, allocations: 255.5 kB / 0.8151 GB, free: 9.496 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005967/1.338, allocations: 3.749 MB / 0.8188 GB, free: 6.191 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.338, allocations: 4 kB / 0.8188 GB, free: 6.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.34, allocations: 1.763 MB / 0.8205 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/1.345, allocations: 0.4944 MB / 0.821 GB, free: 4.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1974/1.543, allocations: 12.14 MB / 0.8328 GB, free: 80.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/1.547, allocations: 4.014 MB / 0.8367 GB, free: 79.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003468/1.55, allocations: 1.206 MB / 0.8379 GB, free: 79.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/1.551, allocations: 188.5 kB / 0.8381 GB, free: 79.76 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.551, allocations: 0 / 0.8381 GB, free: 79.76 MB / 458.7 MB Notification: Performance of Templates: time 0.05054/1.601, allocations: 30.14 MB / 0.8675 GB, free: 78.5 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 -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_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:26: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_functions.h:259: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:268: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:277: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:286: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:295: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:304: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