Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008641/0.0008638, allocations: 105.8 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 8 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1935, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09825/0.2918, allocations: 87.97 MB / 497.4 MB, free: 2.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.2921, allocations: 83.95 kB / 497.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2289/0.521, allocations: 28.3 MB / 0.5134 GB, free: 86.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.521, allocations: 0 / 0.5134 GB, free: 86.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.521, allocations: 15.03 kB / 0.5135 GB, free: 86.64 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002294/0.5234, allocations: 1.041 MB / 0.5145 GB, free: 86.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5234, allocations: 9.969 kB / 0.5145 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.5266, allocations: 0.4958 MB / 0.515 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.5272, allocations: 424.7 kB / 0.5154 GB, free: 85.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.5272, allocations: 73.47 kB / 0.5154 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.5274, allocations: 91.12 kB / 0.5155 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5289, allocations: 0.9727 MB / 0.5165 GB, free: 85.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.5289, allocations: 4 kB / 0.5165 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.529, allocations: 40.75 kB / 0.5165 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5291, allocations: 23.75 kB / 0.5165 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.5305, allocations: 0.9217 MB / 0.5174 GB, free: 85.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.5347, allocations: 3.559 MB / 0.5209 GB, free: 83.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.5365, allocations: 2.241 MB / 0.5231 GB, free: 81.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.5366, allocations: 184.2 kB / 0.5233 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5366, allocations: 38.94 kB / 0.5233 GB, free: 81.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.154e-06/0.5366, allocations: 0 / 0.5233 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001151/0.5378, allocations: 0.7165 MB / 0.524 GB, free: 80.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.5378, allocations: 117.8 kB / 0.5241 GB, free: 80.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.538, allocations: 240.9 kB / 0.5244 GB, free: 80.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5381, allocations: 37.2 kB / 0.5244 GB, free: 80.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.5382, allocations: 382.4 kB / 0.5248 GB, free: 80.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.5383, allocations: 225.8 kB / 0.525 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.5384, allocations: 15.69 kB / 0.525 GB, free: 80.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.5385, allocations: 348.6 kB / 0.5253 GB, free: 79.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.5388, allocations: 223.4 kB / 0.5255 GB, free: 79.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.5392, allocations: 442.6 kB / 0.526 GB, free: 79.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.5396, allocations: 287.5 kB / 0.5262 GB, free: 79.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5396, allocations: 0 / 0.5262 GB, free: 79.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009995/0.5407, allocations: 0.7441 MB / 0.527 GB, free: 78.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5407, allocations: 7.281 kB / 0.527 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5407, allocations: 7.281 kB / 0.527 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5407, allocations: 10.38 kB / 0.527 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.5414, allocations: 195.5 kB / 0.5272 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.5414, allocations: 19.25 kB / 0.5272 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.5418, allocations: 88.59 kB / 0.5273 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.5418, allocations: 28.94 kB / 0.5273 GB, free: 78.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.5421, allocations: 220.2 kB / 0.5275 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.5422, allocations: 43.22 kB / 0.5276 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/0.5432, allocations: 0.6571 MB / 0.5282 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.5432, allocations: 10.34 kB / 0.5282 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5432, allocations: 0 / 0.5282 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5432, allocations: 3.938 kB / 0.5282 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.5451, allocations: 1.492 MB / 0.5297 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5451, allocations: 0 / 0.5297 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.5457, allocations: 131.5 kB / 0.5298 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5457, allocations: 3.375 kB / 0.5298 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.5457, allocations: 23.36 kB / 0.5298 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.5457, allocations: 7.719 kB / 0.5298 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5457, allocations: 0 / 0.5298 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5469, allocations: 1.142 MB / 0.5309 GB, free: 76.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.547, allocations: 120.5 kB / 0.5311 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.5471, allocations: 12 kB / 0.5311 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.5474, allocations: 27.14 kB / 0.5311 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.5475, allocations: 41.67 kB / 0.5311 GB, free: 76.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.5475, allocations: 27.62 kB / 0.5312 GB, free: 76.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5477, allocations: 183.7 kB / 0.5313 GB, free: 76.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5477, allocations: 0 / 0.5313 GB, free: 76.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000645/0.5483, allocations: 247 kB / 0.5316 GB, free: 76.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.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 (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.5486, allocations: 174.8 kB / 0.5317 GB, free: 75.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.5494, allocations: 0.6089 MB / 0.5323 GB, free: 75.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5494, allocations: 0 / 0.5323 GB, free: 75.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.5498, allocations: 306.2 kB / 0.5326 GB, free: 75.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.5501, allocations: 28.56 kB / 0.5327 GB, free: 74.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.5518, allocations: 1.583 MB / 0.5342 GB, free: 73.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5521, allocations: 0.9139 MB / 0.5351 GB, free: 72.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.5524, allocations: 75.17 kB / 0.5352 GB, free: 72.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5526, allocations: 51.23 kB / 0.5352 GB, free: 72.55 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5526, allocations: 3.938 kB / 0.5352 GB, free: 72.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008291/0.5609, allocations: 4.468 MB / 0.5396 GB, free: 69.21 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_model.h:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:296:1: error: unknown type name '_omcQComplexOutput_24i1_24i' _omcQComplexOutput_24i1_24i omc__omcQComplexOutput_24i1_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:305:1: error: unknown type name '_omcQComplexOutput_24i2_24i' _omcQComplexOutput_24i2_24i omc__omcQComplexOutput_24i2_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:314:1: error: unknown type name '_omcQComplexOutput_24sensor0_24apparentPower' _omcQComplexOutput_24sensor0_24apparentPower omc__omcQComplexOutput_24sensor0_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:323:1: error: unknown type name '_omcQComplexOutput_24sensorL_24apparentPower' _omcQComplexOutput_24sensorL_24apparentPower omc__omcQComplexOutput_24sensorL_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:332:1: error: unknown type name '_omcQComplexOutput_24v2_24v' _omcQComplexOutput_24v2_24v omc__omcQComplexOutput_24v2_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 5 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o] Error 1