Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001011, allocations: 178.4 kB / 17.4 MB, free: 4.402 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.425/1.425, allocations: 223.3 MB / 241.4 MB, free: 11.6 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.0007511/0.0007511, allocations: 88.73 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 16 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 50.39 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3624, allocations: 87.73 MB / 490.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.3628, allocations: 91.95 kB / 490.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2566/0.6195, allocations: 25.67 MB / 0.5041 GB, free: 87.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6195, allocations: 1.688 kB / 0.5041 GB, free: 87.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.6195, allocations: 12.66 kB / 0.5042 GB, free: 87.97 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.002899/0.6224, allocations: 1.126 MB / 0.5053 GB, free: 87.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6225, allocations: 9.625 kB / 0.5053 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.6244, allocations: 326.2 kB / 0.5056 GB, free: 87.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.6246, allocations: 255.9 kB / 0.5058 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.6246, allocations: 65.94 kB / 0.5059 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6247, allocations: 89.86 kB / 0.506 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6263, allocations: 0.8918 MB / 0.5068 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.6263, allocations: 4.188 kB / 0.5068 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.6264, allocations: 34.97 kB / 0.5069 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.6264, allocations: 20.62 kB / 0.5069 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.6283, allocations: 0.8337 MB / 0.5077 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.6318, allocations: 2.992 MB / 0.5106 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.6328, allocations: 1.013 MB / 0.5116 GB, free: 85.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.6332, allocations: 254.3 kB / 0.5119 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-05/0.6333, allocations: 91.97 kB / 0.512 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.6333, allocations: 42.69 kB / 0.512 GB, free: 85.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 1.914e-06/0.6333, allocations: 2.812 kB / 0.512 GB, free: 85.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.006885/0.6402, allocations: 2.692 MB / 0.5146 GB, free: 84.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.6403, allocations: 83.05 kB / 0.5147 GB, free: 84.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.6405, allocations: 315.6 kB / 0.515 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.6406, allocations: 36.14 kB / 0.515 GB, free: 84.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6407, allocations: 367.5 kB / 0.5154 GB, free: 84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.6408, allocations: 213.4 kB / 0.5156 GB, free: 83.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6408, allocations: 16.84 kB / 0.5156 GB, free: 83.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.6409, allocations: 348.8 kB / 0.5159 GB, free: 83.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.6416, allocations: 289.6 kB / 0.5162 GB, free: 83.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.6423, allocations: 0.5276 MB / 0.5167 GB, free: 83.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6438, allocations: 0.8564 MB / 0.5176 GB, free: 82.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6438, allocations: 3.938 kB / 0.5176 GB, free: 82.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001783/0.6456, allocations: 0.9389 MB / 0.5185 GB, free: 82.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6456, allocations: 11.59 kB / 0.5185 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6456, allocations: 3.938 kB / 0.5185 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.6458, allocations: 68.91 kB / 0.5186 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.6467, allocations: 218.6 kB / 0.5188 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.6479, allocations: 2.667 MB / 0.5214 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.6485, allocations: 79.05 kB / 0.5215 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.6485, allocations: 39.11 kB / 0.5215 GB, free: 80.32 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.0002291/0.6488, allocations: 215.8 kB / 0.5217 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.6489, allocations: 37.75 kB / 0.5217 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.6506, allocations: 0.7977 MB / 0.5225 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6506, allocations: 3.656 kB / 0.5225 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6506, allocations: 3.75 kB / 0.5225 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6506, allocations: 3.281 kB / 0.5225 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.6529, allocations: 1.467 MB / 0.524 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6529, allocations: 0 / 0.524 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.6535, allocations: 156.1 kB / 0.5241 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.6537, allocations: 60.08 kB / 0.5242 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.6537, allocations: 23.27 kB / 0.5242 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.6548, allocations: 2.64 MB / 0.5268 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6549, allocations: 0 / 0.5268 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.6571, allocations: 1.154 MB / 0.5279 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.6572, allocations: 165.5 kB / 0.5281 GB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.6573, allocations: 15.97 kB / 0.5281 GB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.6578, allocations: 58.94 kB / 0.5281 GB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.6579, allocations: 51.16 kB / 0.5282 GB, free: 76.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.658, allocations: 24.06 kB / 0.5282 GB, free: 76.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.6581, allocations: 218.8 kB / 0.5284 GB, free: 76.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6581, allocations: 0 / 0.5284 GB, free: 76.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005774/0.6587, allocations: 182.3 kB / 0.5286 GB, free: 76.06 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.000214/0.6589, allocations: 177.7 kB / 0.5287 GB, free: 75.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.6606, allocations: 0.9585 MB / 0.5297 GB, free: 75.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6607, allocations: 4.5 kB / 0.5297 GB, free: 75.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.6615, allocations: 0.5741 MB / 0.5302 GB, free: 75.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.6619, allocations: 48.77 kB / 0.5303 GB, free: 75.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.664, allocations: 1.511 MB / 0.5318 GB, free: 74.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.6642, allocations: 0.879 MB / 0.5326 GB, free: 73.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000492/0.6647, allocations: 92.03 kB / 0.5327 GB, free: 73.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.6649, allocations: 50.84 kB / 0.5328 GB, free: 73.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6649, allocations: 0 / 0.5328 GB, free: 73.54 MB / 378.7 MB Notification: Performance of Templates: time 0.009062/0.674, allocations: 5.925 MB / 0.5386 GB, free: 70.8 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_model.h:26: ./Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.o] Error 1