Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007504/0.0007504, allocations: 95.33 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2047, allocations: 51.28 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09685/0.3016, allocations: 85.34 MB / 494.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.3018, allocations: 83.95 kB / 494.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.341, allocations: 17.25 MB / 0.5 GB, free: 4.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3411, allocations: 0 / 0.5 GB, free: 4.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.3411, allocations: 12 kB / 0.5001 GB, free: 4.621 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001824/0.3429, allocations: 0.8193 MB / 0.5009 GB, free: 3.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.343, allocations: 12.03 kB / 0.5009 GB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.3449, allocations: 308 kB / 0.5012 GB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.3454, allocations: 344.5 kB / 0.5015 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.3455, allocations: 45.69 kB / 0.5015 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.3456, allocations: 60.38 kB / 0.5016 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3468, allocations: 0.7292 MB / 0.5023 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3468, allocations: 0 / 0.5023 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.3469, allocations: 27.94 kB / 0.5023 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3469, allocations: 16 kB / 0.5023 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.3482, allocations: 0.743 MB / 0.5031 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1709/0.5191, allocations: 2.49 MB / 0.5055 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.5206, allocations: 1.261 MB / 0.5067 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.5211, allocations: 267.8 kB / 0.507 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.5212, allocations: 173 kB / 0.5072 GB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5212, allocations: 39.16 kB / 0.5072 GB, free: 86.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.317e-06/0.5212, allocations: 2.406 kB / 0.5072 GB, free: 86.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00191/0.5231, allocations: 0.9036 MB / 0.5081 GB, free: 86.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5232, allocations: 88.42 kB / 0.5082 GB, free: 86.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.5234, allocations: 268.7 kB / 0.5084 GB, free: 86.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.5235, allocations: 35.22 kB / 0.5084 GB, free: 86.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5236, allocations: 240.1 kB / 0.5087 GB, free: 85.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.5237, allocations: 159.9 kB / 0.5088 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.5237, allocations: 10.5 kB / 0.5088 GB, free: 85.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.5238, allocations: 345.4 kB / 0.5092 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.5242, allocations: 220.2 kB / 0.5094 GB, free: 85.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.5247, allocations: 343.4 kB / 0.5097 GB, free: 85.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.5255, allocations: 0.574 MB / 0.5103 GB, free: 85.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5255, allocations: 1.125 kB / 0.5103 GB, free: 85.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001297/0.5268, allocations: 0.6642 MB / 0.5109 GB, free: 85.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/0.5269, allocations: 194.8 kB / 0.5111 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5269, allocations: 3.75 kB / 0.5111 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.5272, allocations: 55.19 kB / 0.5112 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.5277, allocations: 118.9 kB / 0.5113 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.5289, allocations: 1.595 MB / 0.5128 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.5293, allocations: 64.72 kB / 0.5129 GB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.5294, allocations: 26.11 kB / 0.5129 GB, free: 83.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.5294, allocations: 3.625 kB / 0.5129 GB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.5304, allocations: 0.5989 MB / 0.5135 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5304, allocations: 3.312 kB / 0.5135 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.5305, allocations: 49.47 kB / 0.5136 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.5309, allocations: 109.6 kB / 0.5137 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/0.5317, allocations: 1.503 MB / 0.5151 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.532, allocations: 60.56 kB / 0.5152 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.532, allocations: 20.88 kB / 0.5152 GB, free: 82.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.5323, allocations: 260.4 kB / 0.5155 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.5323, allocations: 31.34 kB / 0.5155 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.5334, allocations: 0.6566 MB / 0.5161 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5334, allocations: 3.75 kB / 0.5161 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.5334, allocations: 0 / 0.5161 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5335, allocations: 3.328 kB / 0.5161 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.5353, allocations: 1.321 MB / 0.5174 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5353, allocations: 0 / 0.5174 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.5356, allocations: 95.27 kB / 0.5175 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.5358, allocations: 50.17 kB / 0.5176 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.5358, allocations: 18.14 kB / 0.5176 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.5369, allocations: 1.588 MB / 0.5191 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.537, allocations: 3.938 kB / 0.5191 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.5384, allocations: 0.9957 MB / 0.5201 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5386, allocations: 150.8 kB / 0.5202 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.5387, allocations: 11.81 kB / 0.5203 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5389, allocations: 30.27 kB / 0.5203 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.539, allocations: 33.14 kB / 0.5203 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5391, allocations: 18.83 kB / 0.5203 GB, free: 79.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.5392, allocations: 198.4 kB / 0.5205 GB, free: 79.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5392, allocations: 0 / 0.5205 GB, free: 79.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008372/0.5401, allocations: 264.8 kB / 0.5208 GB, free: 79.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002674/0.5404, allocations: 161.1 kB / 0.5209 GB, free: 79.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.542, allocations: 1.108 MB / 0.522 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.542, allocations: 2.781 kB / 0.522 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.5425, allocations: 419.2 kB / 0.5224 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.5429, allocations: 48.27 kB / 0.5225 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.5445, allocations: 1.135 MB / 0.5236 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.5447, allocations: 0.8296 MB / 0.5244 GB, free: 77.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.546, allocations: 1.077 MB / 0.5254 GB, free: 77.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5461, allocations: 41.25 kB / 0.5255 GB, free: 77.1 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5462, allocations: 0 / 0.5255 GB, free: 77.1 MB / 378.7 MB Notification: Performance of Templates: time 0.009459/0.5556, allocations: 5.608 MB / 0.5309 GB, free: 76.76 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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_SinglePhase_Examples_SeriesBode -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_functions.h:239: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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_functions.h:248:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.o] Error 1