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.001417/0.001417, allocations: 200.7 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.279/1.279, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008045/0.0008045, allocations: 99.72 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002472, allocations: 11.98 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3167, allocations: 89.09 MB / 498.5 MB, free: 2.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.317, allocations: 101.9 kB / 498.6 MB, free: 2.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2742/0.5912, allocations: 37.57 MB / 0.5236 GB, free: 85.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5912, allocations: 7.75 kB / 0.5236 GB, free: 85.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.5913, allocations: 21.06 kB / 0.5236 GB, free: 85.89 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.006215/0.5975, allocations: 1.514 MB / 0.5251 GB, free: 85.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5975, allocations: 11.44 kB / 0.5251 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0043/0.6018, allocations: 467.6 kB / 0.5255 GB, free: 84.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.6022, allocations: 308.5 kB / 0.5258 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.6023, allocations: 95.64 kB / 0.5259 GB, free: 84.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.6026, allocations: 129.9 kB / 0.5261 GB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.6057, allocations: 1.307 MB / 0.5273 GB, free: 83.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/0.6058, allocations: 12.03 kB / 0.5273 GB, free: 83.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.6059, allocations: 54.81 kB / 0.5274 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.606, allocations: 28.19 kB / 0.5274 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.6094, allocations: 1.232 MB / 0.5286 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008542/0.618, allocations: 4.345 MB / 0.5329 GB, free: 78.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.6209, allocations: 2.292 MB / 0.5351 GB, free: 75.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.6223, allocations: 0.5498 MB / 0.5356 GB, free: 75.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.6225, allocations: 190.6 kB / 0.5358 GB, free: 75.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6226, allocations: 47.55 kB / 0.5359 GB, free: 75.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.618e-06/0.6226, allocations: 0 / 0.5359 GB, free: 75.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01497/0.6375, allocations: 4.06 MB / 0.5398 GB, free: 71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6376, allocations: 94.11 kB / 0.5399 GB, free: 70.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.6382, allocations: 389.4 kB / 0.5403 GB, free: 70.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.6383, allocations: 49.64 kB / 0.5403 GB, free: 70.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.6385, allocations: 455.5 kB / 0.5408 GB, free: 70 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.6389, allocations: 428.8 kB / 0.5412 GB, free: 69.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.6389, allocations: 24 kB / 0.5412 GB, free: 69.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6391, allocations: 378.8 kB / 0.5416 GB, free: 69.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6407, allocations: 451.7 kB / 0.542 GB, free: 68.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.6424, allocations: 0.7217 MB / 0.5427 GB, free: 67.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.6459, allocations: 1.219 MB / 0.5439 GB, free: 66.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.6459, allocations: 4 kB / 0.5439 GB, free: 66.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004692/0.6506, allocations: 1.509 MB / 0.5454 GB, free: 65.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.6507, allocations: 11.94 kB / 0.5454 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6507, allocations: 4 kB / 0.5454 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/0.6515, allocations: 197.1 kB / 0.5456 GB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.6535, allocations: 299.6 kB / 0.5459 GB, free: 64.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.6581, allocations: 3.989 MB / 0.5498 GB, free: 60.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.6595, allocations: 84.02 kB / 0.5498 GB, free: 60.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.6597, allocations: 55.98 kB / 0.5499 GB, free: 60.17 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.0006079/0.6603, allocations: 277.4 kB / 0.5502 GB, free: 59.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.6605, allocations: 71.16 kB / 0.5502 GB, free: 59.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.665, allocations: 1.378 MB / 0.5516 GB, free: 58.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.6651, allocations: 12 kB / 0.5516 GB, free: 58.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.6651, allocations: 4 kB / 0.5516 GB, free: 58.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.6651, allocations: 11.97 kB / 0.5516 GB, free: 58.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.6716, allocations: 2.562 MB / 0.5541 GB, free: 55.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.6716, allocations: 3.984 kB / 0.5541 GB, free: 55.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.6731, allocations: 227.9 kB / 0.5543 GB, free: 55.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/0.6738, allocations: 165.5 kB / 0.5545 GB, free: 55.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.6739, allocations: 27.98 kB / 0.5545 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/0.678, allocations: 3.796 MB / 0.5582 GB, free: 51.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.678, allocations: 3.938 kB / 0.5582 GB, free: 51.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.6833, allocations: 1.925 MB / 0.5601 GB, free: 49.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.6838, allocations: 236.1 kB / 0.5603 GB, free: 49.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.684, allocations: 20 kB / 0.5603 GB, free: 49.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.685, allocations: 75.95 kB / 0.5604 GB, free: 49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.6853, allocations: 92.86 kB / 0.5605 GB, free: 48.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6854, allocations: 36.09 kB / 0.5605 GB, free: 48.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003777/0.6858, allocations: 267.5 kB / 0.5608 GB, free: 48.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6858, allocations: 0 / 0.5608 GB, free: 48.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001735/0.6875, allocations: 316.1 kB / 0.5611 GB, free: 48.3 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.0004035/0.688, allocations: 207.3 kB / 0.5613 GB, free: 48.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.6921, allocations: 1.494 MB / 0.5627 GB, free: 46.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6921, allocations: 0 / 0.5627 GB, free: 46.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.6942, allocations: 0.8819 MB / 0.5636 GB, free: 45.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.6951, allocations: 74.5 kB / 0.5637 GB, free: 45.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.7002, allocations: 2.264 MB / 0.5659 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.7008, allocations: 1.009 MB / 0.5669 GB, free: 42.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001437/0.7023, allocations: 150.6 kB / 0.567 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.7027, allocations: 75.41 kB / 0.5671 GB, free: 42.04 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7027, allocations: 0 / 0.5671 GB, free: 42.04 MB / 378.7 MB Notification: Performance of Templates: time 0.02488/0.7276, allocations: 9.504 MB / 0.5764 GB, free: 32.59 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 -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_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:26: ./Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.o] Error 1