Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 171 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.374/1.374, allocations: 223.3 MB / 241.4 MB, free: 9.891 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.0008389/0.0008389, allocations: 101.5 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 11.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 50.41 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3214, allocations: 88.32 MB / 491.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3217, allocations: 99.92 kB / 491.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2381/0.5598, allocations: 35.52 MB / 0.5144 GB, free: 87.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5599, allocations: 0 / 0.5144 GB, free: 87.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.5599, allocations: 20.34 kB / 0.5144 GB, free: 87.56 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003973/0.5639, allocations: 1.51 MB / 0.5158 GB, free: 86.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5639, allocations: 11.75 kB / 0.5159 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.5666, allocations: 458.6 kB / 0.5163 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.5669, allocations: 310.4 kB / 0.5166 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.567, allocations: 97.95 kB / 0.5167 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.5672, allocations: 124.1 kB / 0.5168 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.5694, allocations: 1.31 MB / 0.5181 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.5695, allocations: 10.8 kB / 0.5181 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.5696, allocations: 54.25 kB / 0.5181 GB, free: 86.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.5696, allocations: 35 kB / 0.5182 GB, free: 86.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.5722, allocations: 1.227 MB / 0.5194 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.5774, allocations: 4.261 MB / 0.5235 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.5791, allocations: 2.287 MB / 0.5258 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.58, allocations: 0.5548 MB / 0.5263 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.519e-05/0.5801, allocations: 107.9 kB / 0.5264 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5801, allocations: 50.47 kB / 0.5265 GB, free: 82.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.446e-06/0.5801, allocations: 6.469 kB / 0.5265 GB, free: 82.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.008657/0.5888, allocations: 4.063 MB / 0.5304 GB, free: 79.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5888, allocations: 93.34 kB / 0.5305 GB, free: 79.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.5891, allocations: 389.3 kB / 0.5309 GB, free: 79.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.5892, allocations: 49.7 kB / 0.5309 GB, free: 79.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.5893, allocations: 455.8 kB / 0.5314 GB, free: 79.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5895, allocations: 423.3 kB / 0.5318 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.5896, allocations: 28 kB / 0.5318 GB, free: 78.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.5896, allocations: 371.3 kB / 0.5322 GB, free: 78.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/0.5905, allocations: 452.1 kB / 0.5326 GB, free: 77.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.5914, allocations: 0.7151 MB / 0.5333 GB, free: 77.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.5932, allocations: 1.225 MB / 0.5345 GB, free: 75.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.5932, allocations: 4 kB / 0.5345 GB, free: 75.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002335/0.5956, allocations: 1.499 MB / 0.536 GB, free: 74.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5956, allocations: 16.5 kB / 0.536 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5956, allocations: 8 kB / 0.536 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.596, allocations: 200.9 kB / 0.5362 GB, free: 74.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5971, allocations: 300.4 kB / 0.5365 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.5998, allocations: 3.989 MB / 0.5404 GB, free: 70.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.6005, allocations: 89.53 kB / 0.5404 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.6006, allocations: 55.38 kB / 0.5405 GB, free: 69.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.601, allocations: 269.5 kB / 0.5407 GB, free: 69.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.6011, allocations: 70.86 kB / 0.5408 GB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.6035, allocations: 1.387 MB / 0.5422 GB, free: 68.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6035, allocations: 12 kB / 0.5422 GB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6035, allocations: 4 kB / 0.5422 GB, free: 68.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6035, allocations: 7.266 kB / 0.5422 GB, free: 68.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.6071, allocations: 2.568 MB / 0.5447 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6071, allocations: 0 / 0.5447 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.6079, allocations: 229.7 kB / 0.5449 GB, free: 66.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.6083, allocations: 166.9 kB / 0.5451 GB, free: 65.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.6083, allocations: 27.94 kB / 0.5451 GB, free: 65.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.6107, allocations: 3.787 MB / 0.5488 GB, free: 61.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6107, allocations: 11.91 kB / 0.5488 GB, free: 61.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.6138, allocations: 1.925 MB / 0.5507 GB, free: 59.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.6141, allocations: 228.2 kB / 0.5509 GB, free: 59.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.6142, allocations: 24 kB / 0.5509 GB, free: 59.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.6148, allocations: 72.02 kB / 0.551 GB, free: 59.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6149, allocations: 92.86 kB / 0.5511 GB, free: 59.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.615, allocations: 35.98 kB / 0.5511 GB, free: 59.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.6152, allocations: 267.2 kB / 0.5514 GB, free: 59.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6152, allocations: 0 / 0.5514 GB, free: 59.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009167/0.6161, allocations: 316 kB / 0.5517 GB, free: 58.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.6164, allocations: 193.6 kB / 0.5519 GB, free: 58.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.6187, allocations: 1.484 MB / 0.5533 GB, free: 57.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6187, allocations: 0 / 0.5533 GB, free: 57.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6199, allocations: 0.8896 MB / 0.5542 GB, free: 56.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.6204, allocations: 79.66 kB / 0.5543 GB, free: 56.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.6233, allocations: 2.27 MB / 0.5565 GB, free: 53.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6237, allocations: 1.005 MB / 0.5575 GB, free: 52.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007109/0.6244, allocations: 154.8 kB / 0.5576 GB, free: 52.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6246, allocations: 79.41 kB / 0.5577 GB, free: 52.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6246, allocations: 0 / 0.5577 GB, free: 52.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01416/0.6388, allocations: 9.449 MB / 0.5669 GB, free: 43.33 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_functions.h:364: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); ^ 1 error generated. make: *** [: Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.o] Error 1