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.001103/0.001103, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.2 MB / 245 MB, free: 5.738 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008896/0.0008893, allocations: 103.3 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002344, allocations: 11.98 kB / 357.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09594/0.3013, allocations: 85.31 MB / 494.7 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3015, allocations: 83.95 kB / 494.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03905/0.3406, allocations: 17.2 MB / 0.5 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3406, allocations: 0 / 0.5 GB, free: 3.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.3407, allocations: 8 kB / 0.5 GB, free: 3.816 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.001865/0.3425, allocations: 0.8192 MB / 0.5008 GB, free: 2.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3426, allocations: 8.031 kB / 0.5008 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.3446, allocations: 311 kB / 0.5011 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.3452, allocations: 339.1 kB / 0.5014 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.3453, allocations: 49.27 kB / 0.5015 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3454, allocations: 63.94 kB / 0.5015 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.3468, allocations: 0.7252 MB / 0.5023 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.3468, allocations: 0 / 0.5023 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.3469, allocations: 20 kB / 0.5023 GB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3469, allocations: 19.98 kB / 0.5023 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3482, allocations: 0.7391 MB / 0.503 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1743/0.5225, allocations: 2.491 MB / 0.5054 GB, free: 87.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.5241, allocations: 1.263 MB / 0.5067 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.5242, allocations: 183.1 kB / 0.5069 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5243, allocations: 34.02 kB / 0.5069 GB, free: 86.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/0.5243, allocations: 0 / 0.5069 GB, free: 86.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002011/0.5263, allocations: 1.058 MB / 0.5079 GB, free: 85.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.5264, allocations: 84.98 kB / 0.508 GB, free: 85.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.5266, allocations: 245.2 kB / 0.5082 GB, free: 85.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.5267, allocations: 30.58 kB / 0.5083 GB, free: 85.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5268, allocations: 244.7 kB / 0.5085 GB, free: 85.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5269, allocations: 161.9 kB / 0.5087 GB, free: 85.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.5269, allocations: 8.938 kB / 0.5087 GB, free: 85.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.527, allocations: 340 kB / 0.509 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.5275, allocations: 220.4 kB / 0.5092 GB, free: 85.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.528, allocations: 344 kB / 0.5095 GB, free: 84.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.5285, allocations: 243.3 kB / 0.5098 GB, free: 84.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.5285, allocations: 1.625 kB / 0.5098 GB, free: 84.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001286/0.5298, allocations: 0.6737 MB / 0.5104 GB, free: 84.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.5301, allocations: 1.4 MB / 0.5118 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5301, allocations: 8.781 kB / 0.5118 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.5304, allocations: 53.53 kB / 0.5118 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.5309, allocations: 114.4 kB / 0.512 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.5323, allocations: 1.605 MB / 0.5135 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.5327, allocations: 66.27 kB / 0.5136 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.5328, allocations: 24.77 kB / 0.5136 GB, free: 82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5328, allocations: 7.25 kB / 0.5136 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.5339, allocations: 0.5822 MB / 0.5142 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5339, allocations: 7.922 kB / 0.5142 GB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.5341, allocations: 57.73 kB / 0.5142 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.5345, allocations: 106.8 kB / 0.5143 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008783/0.5354, allocations: 1.522 MB / 0.5158 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.5357, allocations: 50.86 kB / 0.5159 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.5358, allocations: 26.89 kB / 0.5159 GB, free: 80.7 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.0003463/0.5361, allocations: 258.4 kB / 0.5162 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5362, allocations: 37.67 kB / 0.5162 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.5375, allocations: 0.6497 MB / 0.5168 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.5375, allocations: 6.5 kB / 0.5168 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5375, allocations: 3.562 kB / 0.5168 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5376, allocations: 6.156 kB / 0.5168 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.5395, allocations: 1.311 MB / 0.5181 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5395, allocations: 0 / 0.5181 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.5398, allocations: 103.1 kB / 0.5182 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.54, allocations: 46.86 kB / 0.5183 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.54, allocations: 17.81 kB / 0.5183 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009443/0.541, allocations: 1.594 MB / 0.5198 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.541, allocations: 0 / 0.5198 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.5424, allocations: 0.9926 MB / 0.5208 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.5425, allocations: 152.3 kB / 0.5209 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.5426, allocations: 11.47 kB / 0.521 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.5429, allocations: 32.62 kB / 0.521 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.543, allocations: 39.03 kB / 0.521 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.543, allocations: 17.11 kB / 0.521 GB, free: 77.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.5431, allocations: 190.5 kB / 0.5212 GB, free: 77.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5431, allocations: 0 / 0.5212 GB, free: 77.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.544, allocations: 269.2 kB / 0.5215 GB, free: 77.68 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.0002549/0.5442, allocations: 157.4 kB / 0.5216 GB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.5459, allocations: 1.104 MB / 0.5227 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.546, allocations: 256 / 0.5227 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.5465, allocations: 417 kB / 0.5231 GB, free: 76.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.5468, allocations: 42.89 kB / 0.5231 GB, free: 76.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5482, allocations: 1.142 MB / 0.5243 GB, free: 76.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.5484, allocations: 0.8309 MB / 0.5251 GB, free: 75.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.5495, allocations: 1.076 MB / 0.5261 GB, free: 75.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5496, allocations: 46.23 kB / 0.5262 GB, free: 75.34 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5496, allocations: 0 / 0.5262 GB, free: 75.34 MB / 378.7 MB Notification: Performance of Templates: time 0.008645/0.5583, allocations: 5.542 MB / 0.5316 GB, free: 74.88 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 -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_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:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_functions.h:253: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:262: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