Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 245.4 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000775/0.000775, allocations: 104 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002248, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3159, allocations: 97.01 MB / 0.4945 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3161, allocations: 87.95 kB / 0.4946 GB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9247/1.241, allocations: 317.6 MB / 0.8048 GB, free: 40.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.589e-06/1.241, allocations: 0 / 0.8048 GB, free: 40.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006004/1.242, allocations: 195.8 kB / 0.805 GB, free: 39.85 MB / 458.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.02642/1.268, allocations: 8 MB / 0.8128 GB, free: 31.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.268, allocations: 12.03 kB / 0.8128 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.281, allocations: 2.605 MB / 0.8154 GB, free: 29.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/1.293, allocations: 5.589 MB / 0.8208 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006297/1.294, allocations: 0.6393 MB / 0.8214 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003079/1.297, allocations: 0.8319 MB / 0.8222 GB, free: 22.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03624/1.333, allocations: 13.67 MB / 0.8356 GB, free: 8.039 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/1.333, allocations: 7.906 kB / 0.8356 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002631/1.336, allocations: 372 kB / 0.836 GB, free: 7.668 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008002/1.337, allocations: 0.6122 MB / 0.8366 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4353/1.772, allocations: 10.29 MB / 0.8466 GB, free: 57.07 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0595/1.832, allocations: 44.19 MB / 0.8898 GB, free: 48.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/1.839, allocations: 10.53 MB / 0.9001 GB, free: 40.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/1.841, allocations: 1.733 MB / 0.9017 GB, free: 40.63 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/1.842, allocations: 215.2 kB / 0.902 GB, free: 40.44 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.842, allocations: 61.09 kB / 0.902 GB, free: 40.39 MB / 458.8 MB Notification: Performance of pre-optimization done (n=234): time 4.028e-06/1.842, allocations: 3.375 kB / 0.902 GB, free: 40.39 MB / 458.8 MB Notification: Performance of matching and sorting (n=234): time 0.00714/1.849, allocations: 4.823 MB / 0.9067 GB, free: 40.04 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.849, allocations: 75.69 kB / 0.9068 GB, free: 39.98 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/1.852, allocations: 2.904 MB / 0.9096 GB, free: 39.71 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/1.853, allocations: 65.8 kB / 0.9097 GB, free: 39.67 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.854, allocations: 3.818 MB / 0.9134 GB, free: 37.53 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/1.855, allocations: 0.8273 MB / 0.9142 GB, free: 37.03 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.855, allocations: 89.34 kB / 0.9143 GB, free: 37.03 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000217/1.855, allocations: 0.5019 MB / 0.9148 GB, free: 36.71 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/1.858, allocations: 2.013 MB / 0.9168 GB, free: 36.22 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/1.861, allocations: 4.201 MB / 0.9209 GB, free: 32.59 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/1.866, allocations: 6.607 MB / 0.9273 GB, free: 27.93 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-05/1.866, allocations: 22.38 kB / 0.9273 GB, free: 27.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.008353/1.875, allocations: 6.589 MB / 0.9338 GB, free: 25.74 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/1.875, allocations: 39.94 kB / 0.9338 GB, free: 25.74 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.928e-05/1.875, allocations: 75.06 kB / 0.9339 GB, free: 25.74 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007355/1.876, allocations: 418.5 kB / 0.9343 GB, free: 25.65 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.879, allocations: 1.073 MB / 0.9353 GB, free: 25.61 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/1.882, allocations: 4.068 MB / 0.9393 GB, free: 23.05 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.885, allocations: 0.6226 MB / 0.9399 GB, free: 22.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/1.886, allocations: 257.2 kB / 0.9402 GB, free: 22.64 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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.00488/1.891, allocations: 3.373 MB / 0.9435 GB, free: 21.07 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/1.891, allocations: 274.7 kB / 0.9437 GB, free: 20.93 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/1.896, allocations: 3.683 MB / 0.9473 GB, free: 19.46 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003339/1.899, allocations: 2.909 MB / 0.9502 GB, free: 18.37 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.899, allocations: 3.094 kB / 0.9502 GB, free: 18.37 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/1.899, allocations: 14.53 kB / 0.9502 GB, free: 18.37 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.914, allocations: 10.38 MB / 0.9603 GB, free: 14.31 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.914, allocations: 0 / 0.9603 GB, free: 14.31 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.915, allocations: 422.5 kB / 0.9607 GB, free: 14.28 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006183/1.916, allocations: 314.2 kB / 0.961 GB, free: 14.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.916, allocations: 50.03 kB / 0.9611 GB, free: 14.16 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/1.919, allocations: 3.884 MB / 0.9649 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.919, allocations: 3.625 kB / 0.9649 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.925, allocations: 5.291 MB / 0.97 GB, free: 9.469 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.926, allocations: 0.6309 MB / 0.9706 GB, free: 9.078 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/1.927, allocations: 42.42 kB / 0.9707 GB, free: 9.051 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.928, allocations: 133.2 kB / 0.9708 GB, free: 9.02 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/1.928, allocations: 159.6 kB / 0.971 GB, free: 8.988 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.928, allocations: 67.41 kB / 0.971 GB, free: 8.961 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002355/1.93, allocations: 1.936 MB / 0.9729 GB, free: 7.367 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.2e-07/1.93, allocations: 0 / 0.9729 GB, free: 7.367 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004388/1.935, allocations: 1.993 MB / 0.9749 GB, free: 5.375 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (223): * Single equations (assignments): 218 * 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.0004663/1.935, allocations: 239.1 kB / 0.9751 GB, free: 5.168 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005926/1.941, allocations: 4.715 MB / 0.9797 GB, free: 1.066 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.941, allocations: 8.062 kB / 0.9797 GB, free: 1.059 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.944, allocations: 1.786 MB / 0.9814 GB, free: 15.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.947, allocations: 0.6333 MB / 0.9821 GB, free: 15 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/1.972, allocations: 16.29 MB / 0.998 GB, free: 0 / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006168/1.978, allocations: 5.669 MB / 1.004 GB, free: 11.54 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004387/1.982, allocations: 1.691 MB / 1.005 GB, free: 10.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/1.983, allocations: 232.8 kB / 1.005 GB, free: 10.25 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/1.983, allocations: 4 kB / 1.005 GB, free: 10.25 MB / 490.8 MB Notification: Performance of Templates: time 0.2908/2.274, allocations: 40.27 MB / 1.045 GB, free: 76.54 MB / 490.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:269: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:278: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:287: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:296: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:305: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:314: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:323: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_functions.h:332: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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.o] Error 1