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.001297/0.001297, allocations: 200.1 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.5 MB / 245.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007439/0.0007437, allocations: 102.7 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002233/0.0002233, allocations: 4 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1953, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09855/0.2938, allocations: 88.49 MB / 497.9 MB, free: 3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.2941, allocations: 98.09 kB / 498 MB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2192/0.5134, allocations: 27.2 MB / 0.5129 GB, free: 87.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5134, allocations: 0 / 0.5129 GB, free: 87.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.5134, allocations: 14.31 kB / 0.5129 GB, free: 87.05 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.003035/0.5165, allocations: 1.14 MB / 0.514 GB, free: 86.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5165, allocations: 10.97 kB / 0.514 GB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.5185, allocations: 327.2 kB / 0.5143 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.5187, allocations: 257.8 kB / 0.5146 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.5188, allocations: 68.28 kB / 0.5146 GB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.5189, allocations: 84.03 kB / 0.5147 GB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5205, allocations: 0.8872 MB / 0.5156 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.5206, allocations: 3.969 kB / 0.5156 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.5206, allocations: 34.5 kB / 0.5156 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5207, allocations: 27.25 kB / 0.5156 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.5223, allocations: 0.83 MB / 0.5164 GB, free: 86.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/0.5264, allocations: 3.084 MB / 0.5195 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/0.5274, allocations: 0.9986 MB / 0.5204 GB, free: 84.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.5278, allocations: 253.1 kB / 0.5207 GB, free: 83.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.528, allocations: 180.7 kB / 0.5208 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.528, allocations: 42.69 kB / 0.5209 GB, free: 83.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.248e-06/0.528, allocations: 3.75 kB / 0.5209 GB, free: 83.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.006924/0.535, allocations: 2.689 MB / 0.5235 GB, free: 82.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.535, allocations: 92.58 kB / 0.5236 GB, free: 82.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.5353, allocations: 323 kB / 0.5239 GB, free: 82.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.5353, allocations: 37.36 kB / 0.5239 GB, free: 82.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5354, allocations: 362 kB / 0.5243 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.5355, allocations: 209 kB / 0.5245 GB, free: 81.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.5356, allocations: 15.88 kB / 0.5245 GB, free: 81.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.5357, allocations: 345 kB / 0.5248 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.5364, allocations: 296.5 kB / 0.5251 GB, free: 81.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.5371, allocations: 0.5225 MB / 0.5256 GB, free: 81.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.5386, allocations: 0.8596 MB / 0.5265 GB, free: 80.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.5386, allocations: 0 / 0.5265 GB, free: 80.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001802/0.5404, allocations: 0.9376 MB / 0.5274 GB, free: 80.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5404, allocations: 11.81 kB / 0.5274 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5405, allocations: 7.75 kB / 0.5274 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.5407, allocations: 72.55 kB / 0.5275 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.5415, allocations: 216.2 kB / 0.5277 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.5428, allocations: 2.656 MB / 0.5303 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.5434, allocations: 81.55 kB / 0.5303 GB, free: 77.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.5435, allocations: 40.05 kB / 0.5304 GB, free: 77.36 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.0002933/0.5438, allocations: 217.8 kB / 0.5306 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.5439, allocations: 44.66 kB / 0.5306 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.5456, allocations: 0.7909 MB / 0.5314 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5456, allocations: 7.156 kB / 0.5314 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5456, allocations: 0 / 0.5314 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5456, allocations: 3.562 kB / 0.5314 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.548, allocations: 1.469 MB / 0.5329 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.548, allocations: 0 / 0.5329 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.5487, allocations: 151.2 kB / 0.533 GB, free: 75.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.5488, allocations: 61.38 kB / 0.5331 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.5489, allocations: 23.78 kB / 0.5331 GB, free: 75.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.55, allocations: 2.639 MB / 0.5357 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.55, allocations: 128 / 0.5357 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.5523, allocations: 1.156 MB / 0.5368 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.5525, allocations: 166.1 kB / 0.5369 GB, free: 71.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.5526, allocations: 12 kB / 0.537 GB, free: 71.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.5531, allocations: 63.39 kB / 0.537 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5532, allocations: 50.78 kB / 0.5371 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.5532, allocations: 19.33 kB / 0.5371 GB, free: 71.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.5534, allocations: 214 kB / 0.5373 GB, free: 71.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5534, allocations: 0 / 0.5373 GB, free: 71.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.5541, allocations: 195.9 kB / 0.5375 GB, free: 70.93 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.0002345/0.5543, allocations: 183.5 kB / 0.5377 GB, free: 70.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.556, allocations: 0.9613 MB / 0.5386 GB, free: 69.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.556, allocations: 0 / 0.5386 GB, free: 69.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.5569, allocations: 0.5755 MB / 0.5392 GB, free: 69.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.5573, allocations: 47.56 kB / 0.5392 GB, free: 69.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.5594, allocations: 1.512 MB / 0.5407 GB, free: 67.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.5597, allocations: 0.8877 MB / 0.5415 GB, free: 67.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.5602, allocations: 91.11 kB / 0.5416 GB, free: 67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.5604, allocations: 51.31 kB / 0.5417 GB, free: 66.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5604, allocations: 0 / 0.5417 GB, free: 66.96 MB / 378.7 MB Notification: Performance of Templates: time 0.009629/0.57, allocations: 5.987 MB / 0.5475 GB, free: 61.9 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 -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_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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.o] Error 1