Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.00149, allocations: 205.2 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007727/0.0007728, allocations: 101.9 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002219, allocations: 4 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3052, allocations: 88.38 MB / 497.8 MB, free: 3.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.3055, allocations: 99.94 kB / 497.9 MB, free: 3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2194/0.525, allocations: 27.12 MB / 0.5127 GB, free: 87.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.525, allocations: 0 / 0.5127 GB, free: 87.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.525, allocations: 11.5 kB / 0.5127 GB, free: 87.14 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.002689/0.5277, allocations: 1.133 MB / 0.5138 GB, free: 86.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5278, allocations: 11.19 kB / 0.5138 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.5297, allocations: 321.4 kB / 0.5141 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5298, allocations: 257.8 kB / 0.5144 GB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.5299, allocations: 67.09 kB / 0.5144 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.53, allocations: 87.22 kB / 0.5145 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5314, allocations: 0.8785 MB / 0.5154 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.5314, allocations: 4.062 kB / 0.5154 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.5315, allocations: 41.72 kB / 0.5154 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.5315, allocations: 19.66 kB / 0.5154 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.533, allocations: 0.8258 MB / 0.5162 GB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.5364, allocations: 3.067 MB / 0.5192 GB, free: 84.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.5374, allocations: 1.01 MB / 0.5202 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.5379, allocations: 248.5 kB / 0.5204 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.538, allocations: 174 kB / 0.5206 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.538, allocations: 51.48 kB / 0.5207 GB, free: 83.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.538, allocations: 0 / 0.5207 GB, free: 83.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.006891/0.5449, allocations: 2.694 MB / 0.5233 GB, free: 82.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.545, allocations: 88.55 kB / 0.5234 GB, free: 82.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5452, allocations: 306 kB / 0.5237 GB, free: 82.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.5453, allocations: 33.7 kB / 0.5237 GB, free: 82.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5454, allocations: 356.1 kB / 0.524 GB, free: 82.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.5455, allocations: 211.2 kB / 0.5242 GB, free: 81.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.5455, allocations: 15.81 kB / 0.5243 GB, free: 81.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.5456, allocations: 345.2 kB / 0.5246 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.5463, allocations: 294.9 kB / 0.5249 GB, free: 81.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/0.547, allocations: 0.5263 MB / 0.5254 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5485, allocations: 0.8481 MB / 0.5262 GB, free: 80.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5485, allocations: 3.812 kB / 0.5262 GB, free: 80.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001787/0.5503, allocations: 0.9386 MB / 0.5271 GB, free: 80.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5503, allocations: 10.41 kB / 0.5271 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.5504, allocations: 7.812 kB / 0.5271 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.5506, allocations: 69.94 kB / 0.5272 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.5514, allocations: 228.9 kB / 0.5274 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.5526, allocations: 2.654 MB / 0.53 GB, free: 77.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.5533, allocations: 76.8 kB / 0.5301 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.5533, allocations: 37.69 kB / 0.5301 GB, free: 77.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.0002453/0.5536, allocations: 226.3 kB / 0.5304 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.5536, allocations: 40.88 kB / 0.5304 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.5554, allocations: 0.7805 MB / 0.5312 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5555, allocations: 7.531 kB / 0.5312 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5555, allocations: 3.375 kB / 0.5312 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5555, allocations: 7.609 kB / 0.5312 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.5578, allocations: 1.461 MB / 0.5326 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5578, allocations: 4 kB / 0.5326 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.5584, allocations: 139.1 kB / 0.5327 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.5586, allocations: 59.22 kB / 0.5328 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.5586, allocations: 23.5 kB / 0.5328 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.5598, allocations: 2.645 MB / 0.5354 GB, free: 72.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5598, allocations: 0 / 0.5354 GB, free: 72.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.5621, allocations: 1.152 MB / 0.5365 GB, free: 71.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5623, allocations: 172.7 kB / 0.5367 GB, free: 71.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.5623, allocations: 15.5 kB / 0.5367 GB, free: 71.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.5628, allocations: 61.94 kB / 0.5368 GB, free: 71.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.563, allocations: 51.91 kB / 0.5368 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.563, allocations: 19.28 kB / 0.5368 GB, free: 71.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.5632, allocations: 205.4 kB / 0.537 GB, free: 71.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5632, allocations: 0 / 0.537 GB, free: 71.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006378/0.5638, allocations: 195 kB / 0.5372 GB, free: 71.2 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.0002478/0.5641, allocations: 178.4 kB / 0.5374 GB, free: 71.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.5658, allocations: 0.9549 MB / 0.5383 GB, free: 70.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5658, allocations: 4.062 kB / 0.5383 GB, free: 70.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.5667, allocations: 0.5799 MB / 0.5389 GB, free: 69.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.5671, allocations: 51.53 kB / 0.5389 GB, free: 69.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5692, allocations: 1.501 MB / 0.5404 GB, free: 68.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.5695, allocations: 0.8808 MB / 0.5413 GB, free: 67.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005102/0.57, allocations: 95.75 kB / 0.5413 GB, free: 67.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5702, allocations: 54.73 kB / 0.5414 GB, free: 67.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5702, allocations: 3.938 kB / 0.5414 GB, free: 67.23 MB / 378.7 MB Notification: Performance of Templates: time 0.009365/0.5796, allocations: 5.922 MB / 0.5472 GB, free: 62.2 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_model.h:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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.ToroidalCoreAirgap.o] Error 1