Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 198.9 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.233/1.233, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008593/0.0008593, allocations: 101.9 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002284, allocations: 11.98 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2001, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3018, allocations: 89.1 MB / 498.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.3021, allocations: 95.94 kB / 498.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2588/0.561, allocations: 37.67 MB / 0.5237 GB, free: 85.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.561, allocations: 0 / 0.5237 GB, free: 85.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.24e-05/0.5611, allocations: 24.38 kB / 0.5237 GB, free: 85.34 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.004538/0.5656, allocations: 1.533 MB / 0.5252 GB, free: 84.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5657, allocations: 11.47 kB / 0.5252 GB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.5686, allocations: 468.2 kB / 0.5257 GB, free: 84.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.5689, allocations: 293.2 kB / 0.526 GB, free: 83.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-05/0.569, allocations: 97.62 kB / 0.5261 GB, free: 83.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.5692, allocations: 138.7 kB / 0.5262 GB, free: 83.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.5714, allocations: 1.292 MB / 0.5275 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.5714, allocations: 4 kB / 0.5275 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/0.5715, allocations: 52 kB / 0.5275 GB, free: 82.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.5716, allocations: 32 kB / 0.5275 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.5738, allocations: 1.228 MB / 0.5287 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.5792, allocations: 4.343 MB / 0.533 GB, free: 77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.581, allocations: 2.29 MB / 0.5352 GB, free: 74.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.5812, allocations: 190.7 kB / 0.5354 GB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5812, allocations: 47.55 kB / 0.5354 GB, free: 74.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.975e-06/0.5812, allocations: 0 / 0.5354 GB, free: 74.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.009754/0.591, allocations: 4.063 MB / 0.5394 GB, free: 70.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.591, allocations: 98.09 kB / 0.5395 GB, free: 69.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5913, allocations: 348.5 kB / 0.5398 GB, free: 69.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.5914, allocations: 49.7 kB / 0.5399 GB, free: 69.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.5916, allocations: 459.5 kB / 0.5403 GB, free: 69.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5918, allocations: 416.5 kB / 0.5407 GB, free: 68.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.5918, allocations: 28 kB / 0.5408 GB, free: 68.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.5919, allocations: 370.8 kB / 0.5411 GB, free: 68.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.5929, allocations: 455.8 kB / 0.5415 GB, free: 67.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5939, allocations: 0.7075 MB / 0.5422 GB, free: 67.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5949, allocations: 0.5412 MB / 0.5428 GB, free: 66.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5949, allocations: 4 kB / 0.5428 GB, free: 66.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002616/0.5975, allocations: 1.501 MB / 0.5442 GB, free: 64.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5976, allocations: 11.95 kB / 0.5442 GB, free: 64.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5976, allocations: 4 kB / 0.5442 GB, free: 64.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/0.5981, allocations: 209.3 kB / 0.5444 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5993, allocations: 303.6 kB / 0.5447 GB, free: 64.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.6023, allocations: 4.103 MB / 0.5487 GB, free: 60.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/0.6032, allocations: 99.86 kB / 0.5488 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.6033, allocations: 51.98 kB / 0.5489 GB, free: 59.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003404/0.6036, allocations: 267.8 kB / 0.5491 GB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.6037, allocations: 67.23 kB / 0.5492 GB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.6063, allocations: 1.401 MB / 0.5506 GB, free: 58.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6064, allocations: 15.98 kB / 0.5506 GB, free: 58.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6064, allocations: 7.984 kB / 0.5506 GB, free: 58.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6064, allocations: 7.984 kB / 0.5506 GB, free: 58.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.6101, allocations: 2.537 MB / 0.5531 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6102, allocations: 0 / 0.5531 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/0.6111, allocations: 227.7 kB / 0.5533 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.6115, allocations: 188.6 kB / 0.5535 GB, free: 55.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.6116, allocations: 31.98 kB / 0.5535 GB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.6144, allocations: 3.971 MB / 0.5574 GB, free: 50.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6144, allocations: 4 kB / 0.5574 GB, free: 50.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.6178, allocations: 1.963 MB / 0.5593 GB, free: 48.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.6181, allocations: 228.2 kB / 0.5595 GB, free: 48.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6182, allocations: 27.95 kB / 0.5596 GB, free: 48.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.6189, allocations: 80 kB / 0.5596 GB, free: 48.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.6191, allocations: 88.81 kB / 0.5597 GB, free: 48.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.6192, allocations: 39.97 kB / 0.5598 GB, free: 48.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.6194, allocations: 267.1 kB / 0.56 GB, free: 48.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6194, allocations: 0 / 0.56 GB, free: 48.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009611/0.6204, allocations: 336 kB / 0.5603 GB, free: 47.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (104): * Single equations (assignments): 102 * 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 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.6206, allocations: 176.4 kB / 0.5605 GB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.6232, allocations: 1.516 MB / 0.562 GB, free: 46.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6232, allocations: 0 / 0.562 GB, free: 46.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.6245, allocations: 0.9129 MB / 0.5629 GB, free: 45.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6249, allocations: 54.92 kB / 0.5629 GB, free: 45.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.6279, allocations: 2.286 MB / 0.5652 GB, free: 42.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.6282, allocations: 1.028 MB / 0.5662 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006715/0.6289, allocations: 154.6 kB / 0.5663 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.6291, allocations: 79.41 kB / 0.5664 GB, free: 41.51 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6291, allocations: 0 / 0.5664 GB, free: 41.51 MB / 378.7 MB Notification: Performance of Templates: time 0.01282/0.642, allocations: 9.614 MB / 0.5758 GB, free: 31.95 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_functions.h:388: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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.o] Error 1