Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 180.6 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.269/1.269, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008172/0.0008171, allocations: 101.4 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 8 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.4027, allocations: 84.5 MB / 486 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.403, allocations: 79.95 kB / 486.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06365/0.4667, allocations: 16.58 MB / 0.4909 GB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4667, allocations: 0 / 0.4909 GB, free: 11.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.4668, allocations: 8 kB / 0.4909 GB, free: 11.12 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.001826/0.4686, allocations: 0.8192 MB / 0.4917 GB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4687, allocations: 8.031 kB / 0.4917 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.4706, allocations: 315 kB / 0.492 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.4711, allocations: 335.1 kB / 0.4923 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.4711, allocations: 41.31 kB / 0.4923 GB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.4712, allocations: 59.98 kB / 0.4924 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4725, allocations: 0.7213 MB / 0.4931 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4725, allocations: 0 / 0.4931 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.4726, allocations: 27.95 kB / 0.4931 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4726, allocations: 16 kB / 0.4932 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.474, allocations: 0.743 MB / 0.4939 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.4775, allocations: 2.421 MB / 0.4962 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.479, allocations: 1.265 MB / 0.4975 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.4792, allocations: 93.84 kB / 0.4976 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4792, allocations: 34.94 kB / 0.4976 GB, free: 3.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.4792, allocations: 0 / 0.4976 GB, free: 3.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001975/0.4812, allocations: 1.058 MB / 0.4986 GB, free: 2.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.4813, allocations: 88.86 kB / 0.4987 GB, free: 2.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.4816, allocations: 233.7 kB / 0.4989 GB, free: 2.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.4816, allocations: 37.7 kB / 0.499 GB, free: 2.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.4818, allocations: 248.3 kB / 0.4992 GB, free: 2.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4819, allocations: 161.6 kB / 0.4994 GB, free: 1.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.482, allocations: 8 kB / 0.4994 GB, free: 1.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4821, allocations: 346.8 kB / 0.4997 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.4826, allocations: 217 kB / 0.4999 GB, free: 1.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.4831, allocations: 344.4 kB / 0.5002 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.4836, allocations: 248.5 kB / 0.5005 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4836, allocations: 4 kB / 0.5005 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001275/0.4849, allocations: 0.6712 MB / 0.5011 GB, free: 12 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1872/0.6722, allocations: 1.401 MB / 0.5025 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.6722, allocations: 6.031 kB / 0.5025 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.6726, allocations: 53.97 kB / 0.5026 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.6732, allocations: 115.4 kB / 0.5027 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.6747, allocations: 1.598 MB / 0.5042 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.6752, allocations: 68.78 kB / 0.5043 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.6752, allocations: 25.72 kB / 0.5043 GB, free: 90.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.6753, allocations: 4.094 kB / 0.5043 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/0.6765, allocations: 0.5854 MB / 0.5049 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6766, allocations: 7.625 kB / 0.5049 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.6767, allocations: 51.27 kB / 0.505 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.6772, allocations: 112.2 kB / 0.5051 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009785/0.6782, allocations: 1.518 MB / 0.5065 GB, free: 89.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.6785, allocations: 54.03 kB / 0.5066 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.6786, allocations: 30.25 kB / 0.5066 GB, free: 89.37 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.000334/0.6789, allocations: 253.4 kB / 0.5069 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.679, allocations: 32.98 kB / 0.5069 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.6804, allocations: 0.6579 MB / 0.5075 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6804, allocations: 9.953 kB / 0.5076 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6804, allocations: 1.094 kB / 0.5076 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6804, allocations: 6.75 kB / 0.5076 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.6825, allocations: 1.319 MB / 0.5088 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6825, allocations: 0.5 kB / 0.5088 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.683, allocations: 93.33 kB / 0.5089 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.6832, allocations: 56.73 kB / 0.509 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.6832, allocations: 21.98 kB / 0.509 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.6842, allocations: 1.588 MB / 0.5106 GB, free: 87.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6842, allocations: 0 / 0.5106 GB, free: 87.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.6857, allocations: 0.9985 MB / 0.5115 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.6858, allocations: 149 kB / 0.5117 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.6859, allocations: 10.94 kB / 0.5117 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.6862, allocations: 28.34 kB / 0.5117 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.6862, allocations: 39.98 kB / 0.5118 GB, free: 87.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.6863, allocations: 17.95 kB / 0.5118 GB, free: 87.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.6864, allocations: 190.6 kB / 0.512 GB, free: 87.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6864, allocations: 0 / 0.512 GB, free: 87.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008969/0.6873, allocations: 265.8 kB / 0.5122 GB, free: 87.04 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.0002108/0.6876, allocations: 152.5 kB / 0.5124 GB, free: 86.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.6892, allocations: 1.115 MB / 0.5134 GB, free: 86.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6892, allocations: 5.016 kB / 0.5134 GB, free: 86.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.6897, allocations: 415.4 kB / 0.5138 GB, free: 86.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.69, allocations: 32.7 kB / 0.5139 GB, free: 86.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.6914, allocations: 1.137 MB / 0.515 GB, free: 86.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.6916, allocations: 0.837 MB / 0.5158 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.6926, allocations: 1.081 MB / 0.5169 GB, free: 85.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6927, allocations: 44.22 kB / 0.5169 GB, free: 85.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6927, allocations: 0 / 0.5169 GB, free: 85.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008191/0.7009, allocations: 5.523 MB / 0.5223 GB, free: 84.97 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_model.h:24: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.o] Error 1