Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 198.7 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.22/1.22, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008699/0.0008699, allocations: 98.78 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002006/0.0002008, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1974, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3012, allocations: 88.5 MB / 497.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.3015, allocations: 95.94 kB / 498 MB, free: 2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2352/0.5368, allocations: 27.28 MB / 0.513 GB, free: 86.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5368, allocations: 0 / 0.513 GB, free: 86.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.5368, allocations: 11.62 kB / 0.513 GB, free: 86.8 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002983/0.5398, allocations: 1.145 MB / 0.5141 GB, free: 86.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5399, allocations: 15.39 kB / 0.5141 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.5419, allocations: 327.7 kB / 0.5144 GB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.5421, allocations: 246 kB / 0.5147 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.5422, allocations: 65.53 kB / 0.5147 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5423, allocations: 83.61 kB / 0.5148 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5438, allocations: 0.8777 MB / 0.5157 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.5438, allocations: 7.781 kB / 0.5157 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.5439, allocations: 29.62 kB / 0.5157 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5439, allocations: 23.44 kB / 0.5157 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.5455, allocations: 0.8371 MB / 0.5165 GB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.5492, allocations: 3.071 MB / 0.5195 GB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.5501, allocations: 1.013 MB / 0.5205 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.5503, allocations: 181 kB / 0.5207 GB, free: 83.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5503, allocations: 36.44 kB / 0.5207 GB, free: 83.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.5503, allocations: 3.75 kB / 0.5207 GB, free: 83.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007611/0.5579, allocations: 2.692 MB / 0.5234 GB, free: 82.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.558, allocations: 81.11 kB / 0.5235 GB, free: 82.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5583, allocations: 284.8 kB / 0.5237 GB, free: 82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.5583, allocations: 40.81 kB / 0.5238 GB, free: 81.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5585, allocations: 365.2 kB / 0.5241 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.5586, allocations: 213.7 kB / 0.5243 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.5587, allocations: 15.81 kB / 0.5243 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.5587, allocations: 349.9 kB / 0.5247 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.5595, allocations: 293.2 kB / 0.5249 GB, free: 81.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/0.5603, allocations: 0.5224 MB / 0.5255 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.5611, allocations: 361.8 kB / 0.5258 GB, free: 80.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5611, allocations: 4 kB / 0.5258 GB, free: 80.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001848/0.563, allocations: 0.9439 MB / 0.5267 GB, free: 80.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.563, allocations: 14.62 kB / 0.5267 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.563, allocations: 6.469 kB / 0.5267 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.5632, allocations: 68.91 kB / 0.5268 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.5641, allocations: 211.7 kB / 0.527 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5654, allocations: 2.69 MB / 0.5296 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.5661, allocations: 72.31 kB / 0.5297 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.5662, allocations: 44.44 kB / 0.5298 GB, free: 77.41 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 (95): * Single equations (assignments): 93 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.5665, allocations: 221.8 kB / 0.53 GB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.5665, allocations: 39.62 kB / 0.53 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.5683, allocations: 0.7911 MB / 0.5308 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5684, allocations: 4 kB / 0.5308 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5684, allocations: 4 kB / 0.5308 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.5684, allocations: 3.328 kB / 0.5308 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5707, allocations: 1.461 MB / 0.5322 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5708, allocations: 0 / 0.5322 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.5714, allocations: 150.8 kB / 0.5324 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.5716, allocations: 57.42 kB / 0.5324 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.5717, allocations: 15.89 kB / 0.5324 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.5729, allocations: 2.68 MB / 0.535 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5729, allocations: 0 / 0.535 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.5752, allocations: 1.149 MB / 0.5362 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5755, allocations: 170.8 kB / 0.5363 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.5755, allocations: 8 kB / 0.5363 GB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.5761, allocations: 62.83 kB / 0.5364 GB, free: 71.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.5762, allocations: 40.08 kB / 0.5364 GB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.5762, allocations: 26.89 kB / 0.5365 GB, free: 71.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.5764, allocations: 221 kB / 0.5367 GB, free: 71.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5764, allocations: 0 / 0.5367 GB, free: 71.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000669/0.5771, allocations: 191.6 kB / 0.5369 GB, free: 70.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_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 (58): * Single equations (assignments): 56 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.5774, allocations: 187.2 kB / 0.537 GB, free: 70.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.5792, allocations: 0.9611 MB / 0.538 GB, free: 69.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5792, allocations: 0 / 0.538 GB, free: 69.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.5801, allocations: 0.572 MB / 0.5385 GB, free: 69.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.5804, allocations: 43.92 kB / 0.5386 GB, free: 69.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.5826, allocations: 1.509 MB / 0.54 GB, free: 67.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.5829, allocations: 0.9018 MB / 0.5409 GB, free: 66.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.5834, allocations: 95.14 kB / 0.541 GB, free: 66.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5836, allocations: 50.38 kB / 0.5411 GB, free: 66.86 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5836, allocations: 0 / 0.5411 GB, free: 66.86 MB / 378.7 MB Notification: Performance of Templates: time 0.0094/0.593, allocations: 5.947 MB / 0.5469 GB, free: 61.32 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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_ToroidalCoreQuadraticCrossSection -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.ToroidalCoreQuadraticCrossSection.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_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.ToroidalCoreQuadraticCrossSection.o] Error 1