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.001395/0.001395, allocations: 175.2 kB / 17.4 MB, free: 4.422 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.278/1.278, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0007544/0.0007543, allocations: 92.22 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003493, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3486, allocations: 84.57 MB / 487.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.3489, allocations: 87.95 kB / 487.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03879/0.3877, allocations: 16.55 MB / 0.4921 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3877, allocations: 0 / 0.4921 GB, free: 10.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.3878, allocations: 15.94 kB / 0.4922 GB, free: 10.95 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.001899/0.3897, allocations: 0.8038 MB / 0.4929 GB, free: 10.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3897, allocations: 8.031 kB / 0.4929 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.3917, allocations: 312 kB / 0.4932 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3921, allocations: 337.4 kB / 0.4936 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.3922, allocations: 45.62 kB / 0.4936 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3923, allocations: 56.38 kB / 0.4937 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3936, allocations: 0.7331 MB / 0.4944 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.3936, allocations: 0 / 0.4944 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.3937, allocations: 24 kB / 0.4944 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3937, allocations: 16 kB / 0.4944 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3951, allocations: 0.7391 MB / 0.4951 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.3989, allocations: 2.421 MB / 0.4975 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.4006, allocations: 1.261 MB / 0.4987 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.4011, allocations: 269.4 kB / 0.499 GB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.4012, allocations: 97.84 kB / 0.4991 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4012, allocations: 38.94 kB / 0.4991 GB, free: 3.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.873e-06/0.4012, allocations: 4 kB / 0.4991 GB, free: 3.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001914/0.4032, allocations: 0.9009 MB / 0.5 GB, free: 2.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.4032, allocations: 81.11 kB / 0.5001 GB, free: 2.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.4035, allocations: 270.6 kB / 0.5003 GB, free: 2.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4036, allocations: 33.64 kB / 0.5004 GB, free: 2.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4037, allocations: 240.4 kB / 0.5006 GB, free: 1.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.4038, allocations: 169.5 kB / 0.5008 GB, free: 1.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.4038, allocations: 4 kB / 0.5008 GB, free: 1.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.404, allocations: 342.8 kB / 0.5011 GB, free: 1.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.4044, allocations: 217 kB / 0.5013 GB, free: 1.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.4049, allocations: 348.4 kB / 0.5016 GB, free: 0.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.4058, allocations: 0.5659 MB / 0.5022 GB, free: 60 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4058, allocations: 0 / 0.5022 GB, free: 60 kB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.1702/0.576, allocations: 0.6721 MB / 0.5028 GB, free: 93.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.5761, allocations: 194.6 kB / 0.503 GB, free: 93.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.5761, allocations: 7.344 kB / 0.503 GB, free: 93.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.5764, allocations: 59.44 kB / 0.5031 GB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.5769, allocations: 112.6 kB / 0.5032 GB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5781, allocations: 1.59 MB / 0.5048 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.5784, allocations: 67.17 kB / 0.5048 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.5785, allocations: 27.81 kB / 0.5048 GB, free: 91.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/0.5785, allocations: 3.375 kB / 0.5048 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001112/0.5796, allocations: 0.5927 MB / 0.5054 GB, free: 91.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5796, allocations: 3.844 kB / 0.5054 GB, free: 91.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.5798, allocations: 52.16 kB / 0.5055 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5802, allocations: 107.2 kB / 0.5056 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009147/0.5811, allocations: 1.509 MB / 0.5071 GB, free: 90.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.5815, allocations: 54.14 kB / 0.5071 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.5815, allocations: 27.95 kB / 0.5071 GB, free: 90.59 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.0002619/0.5818, allocations: 254.1 kB / 0.5074 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.5819, allocations: 34.97 kB / 0.5074 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.5833, allocations: 0.6567 MB / 0.508 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.5833, allocations: 5.531 kB / 0.5081 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5833, allocations: 1.906 kB / 0.5081 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5833, allocations: 2.391 kB / 0.5081 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.5853, allocations: 1.317 MB / 0.5093 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5853, allocations: 0 / 0.5093 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.5857, allocations: 98.67 kB / 0.5094 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.5858, allocations: 49.75 kB / 0.5095 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.5859, allocations: 18.64 kB / 0.5095 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00091/0.5868, allocations: 1.581 MB / 0.511 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5868, allocations: 0 / 0.511 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.5882, allocations: 0.9962 MB / 0.512 GB, free: 88.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5884, allocations: 156.3 kB / 0.5122 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.5884, allocations: 15.7 kB / 0.5122 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.5887, allocations: 33.52 kB / 0.5122 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.5888, allocations: 34.14 kB / 0.5122 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.5888, allocations: 16.58 kB / 0.5123 GB, free: 88.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.589, allocations: 186.6 kB / 0.5124 GB, free: 88.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.589, allocations: 0 / 0.5124 GB, free: 88.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.5898, allocations: 262.5 kB / 0.5127 GB, free: 88.26 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.0002161/0.59, allocations: 154.5 kB / 0.5128 GB, free: 88.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5916, allocations: 1.107 MB / 0.5139 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5916, allocations: 4.25 kB / 0.5139 GB, free: 87.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.5921, allocations: 415.7 kB / 0.5143 GB, free: 87.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5925, allocations: 51.3 kB / 0.5144 GB, free: 87.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.5939, allocations: 1.151 MB / 0.5155 GB, free: 87.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.5941, allocations: 0.8233 MB / 0.5163 GB, free: 86.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.5951, allocations: 1.078 MB / 0.5174 GB, free: 86.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5952, allocations: 43.09 kB / 0.5174 GB, free: 86.49 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5952, allocations: 0 / 0.5174 GB, free: 86.49 MB / 378.7 MB Notification: Performance of Templates: time 0.008587/0.6038, allocations: 5.559 MB / 0.5228 GB, free: 86.19 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 -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_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:26: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.o] Error 1