Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 166.6 kB / 17.39 MB, free: 4.301 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.3/1.3, allocations: 223.2 MB / 241.4 MB, free: 9.992 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.0007999/0.0007999, allocations: 94.48 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4133, allocations: 87.18 MB / 489.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4136, allocations: 83.95 kB / 490 MB, free: 9.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2046/0.6182, allocations: 26.76 MB / 0.5047 GB, free: 87.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6182, allocations: 0 / 0.5047 GB, free: 87.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.46e-05/0.6183, allocations: 14 kB / 0.5047 GB, free: 87.2 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.003037/0.6213, allocations: 1.035 MB / 0.5057 GB, free: 86.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6214, allocations: 9.844 kB / 0.5057 GB, free: 86.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.6264, allocations: 0.4954 MB / 0.5062 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.6271, allocations: 426 kB / 0.5066 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.6272, allocations: 69.03 kB / 0.5066 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.6275, allocations: 98.53 kB / 0.5067 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.6301, allocations: 0.9896 MB / 0.5077 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.6301, allocations: 1.531 kB / 0.5077 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.6303, allocations: 44.56 kB / 0.5077 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/0.6303, allocations: 24.16 kB / 0.5078 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.6327, allocations: 0.9277 MB / 0.5087 GB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.6386, allocations: 3.473 MB / 0.5121 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.6413, allocations: 2.233 MB / 0.5142 GB, free: 83.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.6418, allocations: 289.4 kB / 0.5145 GB, free: 83.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.545e-05/0.6419, allocations: 100.1 kB / 0.5146 GB, free: 83.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.642, allocations: 40.25 kB / 0.5147 GB, free: 83.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 3.697e-06/0.642, allocations: 0 / 0.5147 GB, free: 83.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001701/0.6437, allocations: 0.7224 MB / 0.5154 GB, free: 82.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6438, allocations: 109.8 kB / 0.5155 GB, free: 82.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.6441, allocations: 271.2 kB / 0.5157 GB, free: 82.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.6441, allocations: 36.08 kB / 0.5158 GB, free: 82.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.6443, allocations: 381.3 kB / 0.5161 GB, free: 82.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.6445, allocations: 230 kB / 0.5163 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.6445, allocations: 17.28 kB / 0.5164 GB, free: 82.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.6446, allocations: 345.3 kB / 0.5167 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.6452, allocations: 220.4 kB / 0.5169 GB, free: 81.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.6459, allocations: 444.5 kB / 0.5173 GB, free: 81.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.6472, allocations: 0.6926 MB / 0.518 GB, free: 81.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6472, allocations: 3.875 kB / 0.518 GB, free: 81.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001698/0.6489, allocations: 0.7411 MB / 0.5187 GB, free: 81.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.6489, allocations: 7.062 kB / 0.5187 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.649, allocations: 11.33 kB / 0.5187 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.649, allocations: 15.03 kB / 0.5188 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.6499, allocations: 189.2 kB / 0.5189 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.6499, allocations: 18.97 kB / 0.519 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.6505, allocations: 79.41 kB / 0.519 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.6506, allocations: 33.25 kB / 0.5191 GB, free: 81.34 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.0003456/0.651, allocations: 217.3 kB / 0.5193 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6511, allocations: 44.3 kB / 0.5193 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.6527, allocations: 0.6555 MB / 0.52 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6527, allocations: 7.812 kB / 0.52 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6527, allocations: 0 / 0.52 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6527, allocations: 3.469 kB / 0.52 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.6556, allocations: 1.481 MB / 0.5214 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6556, allocations: 3.688 kB / 0.5214 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/0.6564, allocations: 138.7 kB / 0.5215 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6564, allocations: 3.938 kB / 0.5216 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.6565, allocations: 13.25 kB / 0.5216 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6565, allocations: 3.938 kB / 0.5216 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6565, allocations: 3.938 kB / 0.5216 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.6583, allocations: 1.12 MB / 0.5227 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.6584, allocations: 119.6 kB / 0.5228 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.6585, allocations: 19.62 kB / 0.5228 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.659, allocations: 26.03 kB / 0.5228 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6592, allocations: 47.05 kB / 0.5229 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.6592, allocations: 22.55 kB / 0.5229 GB, free: 79.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001883/0.6594, allocations: 178.3 kB / 0.5231 GB, free: 79.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6594, allocations: 4.062 kB / 0.5231 GB, free: 79.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001093/0.6605, allocations: 235.8 kB / 0.5233 GB, free: 79.52 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.0002682/0.6608, allocations: 175.8 kB / 0.5235 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.6621, allocations: 0.6039 MB / 0.524 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6621, allocations: 0 / 0.524 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.6625, allocations: 306.9 kB / 0.5243 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.663, allocations: 53.56 kB / 0.5244 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.665, allocations: 1.577 MB / 0.5259 GB, free: 78.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.6653, allocations: 0.9022 MB / 0.5268 GB, free: 77.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.6657, allocations: 76.61 kB / 0.5269 GB, free: 77.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.6658, allocations: 50.25 kB / 0.5269 GB, free: 77.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6658, allocations: 3.844 kB / 0.5269 GB, free: 77.34 MB / 378.7 MB Notification: Performance of Templates: time 0.007604/0.6734, allocations: 4.436 MB / 0.5313 GB, free: 77 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_model.h:26: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:280: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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:289: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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:298: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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:307: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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_functions.h:316: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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o] Error 1