Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, 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.461/1.461, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008788/0.0008787, allocations: 100.2 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3436, allocations: 96.11 MB / 497.6 MB, free: 368 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.3439, allocations: 89.77 kB / 497.7 MB, free: 280 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.891/1.235, allocations: 301.7 MB / 0.7807 GB, free: 37.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.235, allocations: 0 / 0.7807 GB, free: 37.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003418/1.235, allocations: 199.8 kB / 0.7809 GB, free: 37.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02393/1.259, allocations: 8.058 MB / 0.7888 GB, free: 29.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.259, allocations: 8.031 kB / 0.7888 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/1.272, allocations: 2.612 MB / 0.7913 GB, free: 26.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/1.285, allocations: 5.526 MB / 0.7967 GB, free: 21.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007312/1.286, allocations: 0.6421 MB / 0.7973 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003596/1.289, allocations: 0.8358 MB / 0.7982 GB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/1.324, allocations: 13.6 MB / 0.8114 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/1.325, allocations: 7.984 kB / 0.8114 GB, free: 5.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/1.327, allocations: 368 kB / 0.8118 GB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007516/1.328, allocations: 0.6122 MB / 0.8124 GB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02228/1.35, allocations: 10.29 MB / 0.8224 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2889/1.639, allocations: 43.68 MB / 0.8651 GB, free: 54.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00851/1.647, allocations: 10.54 MB / 0.8754 GB, free: 46.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.648, allocations: 132.4 kB / 0.8755 GB, free: 46.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.648, allocations: 56.47 kB / 0.8756 GB, free: 46.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=234): time 5.52e-06/1.648, allocations: 0 / 0.8756 GB, free: 46.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=234): time 0.007553/1.655, allocations: 5.16 MB / 0.8806 GB, free: 45.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.655, allocations: 74.91 kB / 0.8807 GB, free: 45.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/1.659, allocations: 2.615 MB / 0.8832 GB, free: 45.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/1.659, allocations: 59.92 kB / 0.8833 GB, free: 45.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.661, allocations: 3.828 MB / 0.887 GB, free: 43.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/1.661, allocations: 0.8269 MB / 0.8878 GB, free: 43.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.661, allocations: 92.44 kB / 0.8879 GB, free: 43.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/1.662, allocations: 0.5016 MB / 0.8884 GB, free: 42.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/1.664, allocations: 2.019 MB / 0.8904 GB, free: 42.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/1.667, allocations: 4.186 MB / 0.8945 GB, free: 40.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/1.671, allocations: 3.064 MB / 0.8975 GB, free: 39.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/1.671, allocations: 22.53 kB / 0.8975 GB, free: 39.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.008847/1.679, allocations: 6.594 MB / 0.9039 GB, free: 39.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/1.68, allocations: 43.23 kB / 0.904 GB, free: 39.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.68, allocations: 76.25 kB / 0.904 GB, free: 39.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/1.681, allocations: 420 kB / 0.9044 GB, free: 39.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/1.684, allocations: 1.072 MB / 0.9055 GB, free: 39.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.688, allocations: 4.16 MB / 0.9096 GB, free: 38.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/1.691, allocations: 0.6232 MB / 0.9102 GB, free: 37.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006234/1.692, allocations: 249.1 kB / 0.9104 GB, free: 37.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (574): * Single equations (assignments): 569 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006015/1.698, allocations: 3.372 MB / 0.9137 GB, free: 37.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006769/1.699, allocations: 276.5 kB / 0.914 GB, free: 37.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.704, allocations: 3.715 MB / 0.9176 GB, free: 37.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003332/1.707, allocations: 2.922 MB / 0.9204 GB, free: 37.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.707, allocations: 3.969 kB / 0.9204 GB, free: 37.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.707, allocations: 13.45 kB / 0.9205 GB, free: 37.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/1.725, allocations: 10.34 MB / 0.9306 GB, free: 33.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.725, allocations: 3.5 kB / 0.9306 GB, free: 33.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.726, allocations: 416.2 kB / 0.931 GB, free: 33.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/1.727, allocations: 317.1 kB / 0.9313 GB, free: 33.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/1.727, allocations: 53.72 kB / 0.9313 GB, free: 33.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/1.731, allocations: 3.978 MB / 0.9352 GB, free: 31.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.731, allocations: 0 / 0.9352 GB, free: 31.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/1.737, allocations: 5.299 MB / 0.9404 GB, free: 29.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.739, allocations: 0.6395 MB / 0.941 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.739, allocations: 46.69 kB / 0.941 GB, free: 28.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.74, allocations: 131.7 kB / 0.9412 GB, free: 28.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.741, allocations: 143.3 kB / 0.9413 GB, free: 28.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.741, allocations: 67.78 kB / 0.9414 GB, free: 28.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002587/1.743, allocations: 1.935 MB / 0.9433 GB, free: 27.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.743, allocations: 0 / 0.9433 GB, free: 27.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005336/1.749, allocations: 1.99 MB / 0.9452 GB, free: 27.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].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 (221): * Single equations (assignments): 216 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005844/1.749, allocations: 244.9 kB / 0.9454 GB, free: 27.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006846/1.756, allocations: 4.736 MB / 0.9501 GB, free: 25.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.756, allocations: 3.172 kB / 0.9501 GB, free: 25.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/1.759, allocations: 1.802 MB / 0.9518 GB, free: 23.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.762, allocations: 0.6029 MB / 0.9524 GB, free: 23.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.785, allocations: 16.22 MB / 0.9682 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006942/1.792, allocations: 5.796 MB / 0.9739 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00425/1.796, allocations: 1.691 MB / 0.9756 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/1.797, allocations: 226.1 kB / 0.9758 GB, free: 2.336 MB / 458.7 MB Notification: Performance of SimCode: time 8.81e-07/1.797, allocations: 0 / 0.9758 GB, free: 2.336 MB / 458.7 MB Notification: Performance of Templates: time 0.315/2.112, allocations: 40.18 MB / 1.015 GB, free: 70.26 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_model.h:24: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:283:1: error: unknown type name '_omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower' _omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower omc__omcQComplexOutput_24aronSensor_24powerSensor1_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:292:1: error: unknown type name '_omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower' _omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower omc__omcQComplexOutput_24aronSensor_24powerSensor3_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:301:1: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i' _omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i omc__omcQComplexOutput_24currentQuasiRMSSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:310: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); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:319:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor1_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:328:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor2_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:337:1: error: unknown type name '_omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower' _omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower omc__omcQComplexOutput_24reactivePowerSensor_24powerSensor3_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:346:1: error: unknown type name '_omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v' _omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v omc__omcQComplexOutput_24voltageQuasiRMSSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 8 errors generated. make: *** [: Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.o] Error 1