Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.242/1.242, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0009525/0.0009522, allocations: 98.78 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 11.98 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3364, allocations: 87.54 MB / 489 MB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3367, allocations: 91.95 kB / 489.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.217/0.5538, allocations: 25.63 MB / 0.5027 GB, free: 87.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5538, allocations: 4.438 kB / 0.5027 GB, free: 87.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.5538, allocations: 12.5 kB / 0.5027 GB, free: 87.87 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.003088/0.5569, allocations: 1.128 MB / 0.5038 GB, free: 87.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.557, allocations: 8.438 kB / 0.5038 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.5591, allocations: 322.9 kB / 0.5041 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.5593, allocations: 252.8 kB / 0.5044 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.5593, allocations: 63.03 kB / 0.5044 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5595, allocations: 85.16 kB / 0.5045 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.5611, allocations: 0.8811 MB / 0.5054 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.5612, allocations: 1.031 kB / 0.5054 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.5613, allocations: 38.95 kB / 0.5054 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.5613, allocations: 20.09 kB / 0.5054 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5632, allocations: 0.8317 MB / 0.5062 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.567, allocations: 2.984 MB / 0.5092 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.5679, allocations: 1.013 MB / 0.5101 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.568, allocations: 87.77 kB / 0.5102 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5681, allocations: 41.72 kB / 0.5103 GB, free: 85.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/0.5681, allocations: 0 / 0.5103 GB, free: 85.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007515/0.5756, allocations: 2.69 MB / 0.5129 GB, free: 84.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5756, allocations: 85.89 kB / 0.513 GB, free: 84.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5759, allocations: 269.3 kB / 0.5132 GB, free: 84.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.5759, allocations: 35.33 kB / 0.5133 GB, free: 84.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5761, allocations: 361.4 kB / 0.5136 GB, free: 83.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.5762, allocations: 213 kB / 0.5138 GB, free: 83.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.5762, allocations: 15.25 kB / 0.5138 GB, free: 83.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.5763, allocations: 351.4 kB / 0.5142 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.577, allocations: 290.9 kB / 0.5144 GB, free: 83.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.5778, allocations: 0.5224 MB / 0.515 GB, free: 83.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.5786, allocations: 360.8 kB / 0.5153 GB, free: 83.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5786, allocations: 3.688 kB / 0.5153 GB, free: 83.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001881/0.5805, allocations: 0.9393 MB / 0.5162 GB, free: 83.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5805, allocations: 13.55 kB / 0.5162 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5805, allocations: 11.31 kB / 0.5162 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.5807, allocations: 69.22 kB / 0.5163 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.5816, allocations: 217.1 kB / 0.5165 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.5829, allocations: 2.673 MB / 0.5191 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.5836, allocations: 76.38 kB / 0.5192 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.5837, allocations: 38.16 kB / 0.5192 GB, free: 80.54 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.0002791/0.5839, allocations: 214.9 kB / 0.5194 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.584, allocations: 43.05 kB / 0.5195 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.5859, allocations: 0.7908 MB / 0.5203 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5859, allocations: 7.406 kB / 0.5203 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.5859, allocations: 0 / 0.5203 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5859, allocations: 9.844 kB / 0.5203 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.5883, allocations: 1.461 MB / 0.5217 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5883, allocations: 0 / 0.5217 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.589, allocations: 147.4 kB / 0.5218 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.5892, allocations: 56.03 kB / 0.5219 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.5892, allocations: 14.34 kB / 0.5219 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.5904, allocations: 2.669 MB / 0.5245 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5904, allocations: 0.8438 kB / 0.5245 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5927, allocations: 1.146 MB / 0.5256 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5929, allocations: 171.4 kB / 0.5258 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.593, allocations: 15.38 kB / 0.5258 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.5935, allocations: 57.86 kB / 0.5259 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5936, allocations: 48.22 kB / 0.5259 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.5937, allocations: 21.98 kB / 0.5259 GB, free: 76.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.5938, allocations: 210.8 kB / 0.5261 GB, free: 76.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5938, allocations: 0 / 0.5261 GB, free: 76.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006462/0.5945, allocations: 184.9 kB / 0.5263 GB, free: 76.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0002289/0.5947, allocations: 170.7 kB / 0.5265 GB, free: 76.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.5965, allocations: 0.9638 MB / 0.5274 GB, free: 76.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5965, allocations: 0 / 0.5274 GB, free: 76.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.5974, allocations: 0.5748 MB / 0.528 GB, free: 75.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.5977, allocations: 35.64 kB / 0.528 GB, free: 75.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.5998, allocations: 1.507 MB / 0.5295 GB, free: 74.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.6, allocations: 0.8925 MB / 0.5304 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.6005, allocations: 93.52 kB / 0.5304 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6007, allocations: 50.53 kB / 0.5305 GB, free: 74.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6007, allocations: 3.656 kB / 0.5305 GB, free: 74.1 MB / 378.7 MB Notification: Performance of Templates: time 0.009122/0.6098, allocations: 5.837 MB / 0.5362 GB, free: 71.89 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap -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.ToroidalCoreAirgap.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_model.h:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.o] Error 1