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.001429/0.001429, allocations: 196 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008618/0.0008619, allocations: 101.6 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002309, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2136, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3202, allocations: 87.95 MB / 497.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3205, allocations: 87.89 kB / 497.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.5626, allocations: 28.21 MB / 0.5133 GB, free: 86.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5626, allocations: 0 / 0.5133 GB, free: 86.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.5627, allocations: 13.94 kB / 0.5133 GB, free: 86.78 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.002188/0.5649, allocations: 1.032 MB / 0.5143 GB, free: 86.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5649, allocations: 9.969 kB / 0.5143 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.5678, allocations: 0.4945 MB / 0.5148 GB, free: 86.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.5684, allocations: 433.4 kB / 0.5152 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.5684, allocations: 73.14 kB / 0.5153 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5685, allocations: 97.19 kB / 0.5154 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5699, allocations: 0.9835 MB / 0.5164 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.5699, allocations: 0.9375 kB / 0.5164 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.57, allocations: 43.56 kB / 0.5164 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.57, allocations: 23.5 kB / 0.5164 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.5714, allocations: 0.9264 MB / 0.5173 GB, free: 85.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.5754, allocations: 3.544 MB / 0.5208 GB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.5772, allocations: 2.247 MB / 0.523 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.5776, allocations: 288.4 kB / 0.5233 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.5778, allocations: 183.8 kB / 0.5234 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5778, allocations: 42.66 kB / 0.5235 GB, free: 81.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.845e-06/0.5778, allocations: 0 / 0.5235 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001219/0.5791, allocations: 0.73 MB / 0.5242 GB, free: 81.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5791, allocations: 110.6 kB / 0.5243 GB, free: 81.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.5794, allocations: 263.6 kB / 0.5245 GB, free: 80.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.5794, allocations: 37.39 kB / 0.5246 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.5796, allocations: 386.1 kB / 0.5249 GB, free: 80.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5798, allocations: 220.7 kB / 0.5252 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.5798, allocations: 19.97 kB / 0.5252 GB, free: 80.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.5799, allocations: 344.5 kB / 0.5255 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.5803, allocations: 224.7 kB / 0.5257 GB, free: 80.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.5807, allocations: 445.9 kB / 0.5261 GB, free: 79.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.5815, allocations: 0.6868 MB / 0.5268 GB, free: 79.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5816, allocations: 3.219 kB / 0.5268 GB, free: 79.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001001/0.5826, allocations: 0.749 MB / 0.5275 GB, free: 78.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5826, allocations: 7.75 kB / 0.5276 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5826, allocations: 7.594 kB / 0.5276 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5826, allocations: 14.41 kB / 0.5276 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.5832, allocations: 189.6 kB / 0.5278 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.5832, allocations: 18.52 kB / 0.5278 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.5836, allocations: 81.22 kB / 0.5278 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.5836, allocations: 36.06 kB / 0.5279 GB, free: 78.76 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.0002147/0.5839, allocations: 214.6 kB / 0.5281 GB, free: 78.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.584, allocations: 41.62 kB / 0.5281 GB, free: 78.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009308/0.5849, allocations: 0.6517 MB / 0.5288 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5849, allocations: 7.25 kB / 0.5288 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5849, allocations: 0 / 0.5288 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5849, allocations: 6.969 kB / 0.5288 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5867, allocations: 1.48 MB / 0.5302 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5867, allocations: 3.5 kB / 0.5302 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.5872, allocations: 143.9 kB / 0.5304 GB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.5872, allocations: 3.438 kB / 0.5304 GB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.5872, allocations: 11.72 kB / 0.5304 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5872, allocations: 3.875 kB / 0.5304 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5872, allocations: 3.938 kB / 0.5304 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.5884, allocations: 1.122 MB / 0.5315 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.5884, allocations: 123.1 kB / 0.5316 GB, free: 76.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.5885, allocations: 15.75 kB / 0.5316 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.5888, allocations: 29.86 kB / 0.5316 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.5889, allocations: 47.28 kB / 0.5317 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.5889, allocations: 18.66 kB / 0.5317 GB, free: 76.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.5891, allocations: 183.2 kB / 0.5319 GB, free: 76.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5891, allocations: 0 / 0.5319 GB, free: 76.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.5897, allocations: 243.7 kB / 0.5321 GB, free: 76.35 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.0002284/0.5899, allocations: 182.2 kB / 0.5323 GB, free: 76.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007872/0.5907, allocations: 0.6044 MB / 0.5329 GB, free: 75.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5907, allocations: 0 / 0.5329 GB, free: 75.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.5911, allocations: 305.3 kB / 0.5332 GB, free: 75.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.5916, allocations: 44.17 kB / 0.5332 GB, free: 75.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5932, allocations: 1.582 MB / 0.5348 GB, free: 73.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.5935, allocations: 0.9046 MB / 0.5356 GB, free: 72.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000326/0.5938, allocations: 79.67 kB / 0.5357 GB, free: 72.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.5939, allocations: 51.23 kB / 0.5358 GB, free: 72.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5939, allocations: 0 / 0.5358 GB, free: 72.86 MB / 378.7 MB Notification: Performance of Templates: time 0.007585/0.6015, allocations: 4.49 MB / 0.5401 GB, free: 70 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 -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_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:26: ./Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o] Error 1