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.001405/0.001405, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.559/1.559, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0007931/0.000793, allocations: 102 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09503/0.3084, allocations: 87.11 MB / 488.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3087, allocations: 79.95 kB / 488.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2124/0.5211, allocations: 26.84 MB / 0.5034 GB, free: 87.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5212, allocations: 1.781 kB / 0.5034 GB, free: 87.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/0.5212, allocations: 14.31 kB / 0.5035 GB, free: 87.21 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.002133/0.5233, allocations: 1.036 MB / 0.5045 GB, free: 86.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5234, allocations: 11.5 kB / 0.5045 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.5265, allocations: 0.4915 MB / 0.505 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.527, allocations: 431.2 kB / 0.5054 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.527, allocations: 71.34 kB / 0.5054 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5272, allocations: 90.47 kB / 0.5055 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5288, allocations: 0.978 MB / 0.5065 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5288, allocations: 4.625 kB / 0.5065 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.5289, allocations: 40 kB / 0.5065 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.529, allocations: 23.5 kB / 0.5065 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.5305, allocations: 0.9241 MB / 0.5074 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.5344, allocations: 3.467 MB / 0.5108 GB, free: 85.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.5362, allocations: 2.239 MB / 0.513 GB, free: 83.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.5363, allocations: 98.42 kB / 0.5131 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.5363, allocations: 45.22 kB / 0.5132 GB, free: 83.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.335e-06/0.5363, allocations: 0 / 0.5132 GB, free: 83.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001147/0.5374, allocations: 0.7218 MB / 0.5139 GB, free: 83.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5375, allocations: 110.7 kB / 0.514 GB, free: 82.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5377, allocations: 239.7 kB / 0.5142 GB, free: 82.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.5377, allocations: 37.52 kB / 0.5142 GB, free: 82.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.5379, allocations: 380.6 kB / 0.5146 GB, free: 82.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.538, allocations: 228.6 kB / 0.5148 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.538, allocations: 19.56 kB / 0.5148 GB, free: 82.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.5381, allocations: 342.6 kB / 0.5152 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.5384, allocations: 224 kB / 0.5154 GB, free: 82.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.5388, allocations: 433.1 kB / 0.5158 GB, free: 81.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.5393, allocations: 287.6 kB / 0.5161 GB, free: 81.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5393, allocations: 3.828 kB / 0.5161 GB, free: 81.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001013/0.5403, allocations: 0.7472 MB / 0.5168 GB, free: 81.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5403, allocations: 7.812 kB / 0.5168 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5403, allocations: 6.641 kB / 0.5168 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5404, allocations: 11.88 kB / 0.5168 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.541, allocations: 195.9 kB / 0.517 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.541, allocations: 14.25 kB / 0.517 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.5414, allocations: 81.69 kB / 0.5171 GB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.5414, allocations: 34.64 kB / 0.5171 GB, free: 81.65 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.0002106/0.5417, allocations: 224.2 kB / 0.5173 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.5418, allocations: 39.03 kB / 0.5174 GB, free: 81.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009893/0.5427, allocations: 0.6567 MB / 0.518 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5428, allocations: 7.25 kB / 0.518 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5428, allocations: 0 / 0.518 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5428, allocations: 11.41 kB / 0.518 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.5446, allocations: 1.476 MB / 0.5195 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5446, allocations: 4 kB / 0.5195 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.5451, allocations: 141.8 kB / 0.5196 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5451, allocations: 3.875 kB / 0.5196 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.5452, allocations: 14.12 kB / 0.5196 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5452, allocations: 7.828 kB / 0.5196 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5452, allocations: 0 / 0.5196 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.5464, allocations: 1.138 MB / 0.5208 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.5464, allocations: 128 kB / 0.5209 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.5465, allocations: 15.81 kB / 0.5209 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.5469, allocations: 30.95 kB / 0.5209 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.5469, allocations: 42.2 kB / 0.521 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.547, allocations: 20.25 kB / 0.521 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.5471, allocations: 187.2 kB / 0.5212 GB, free: 80.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5471, allocations: 0 / 0.5212 GB, free: 80.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006171/0.5477, allocations: 233.8 kB / 0.5214 GB, free: 80.07 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.0001919/0.5479, allocations: 163.7 kB / 0.5215 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008059/0.5487, allocations: 0.6094 MB / 0.5221 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5488, allocations: 0 / 0.5221 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.5491, allocations: 304.7 kB / 0.5224 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5494, allocations: 37.84 kB / 0.5225 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.551, allocations: 1.587 MB / 0.524 GB, free: 78.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.5513, allocations: 0.912 MB / 0.5249 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.5516, allocations: 83.91 kB / 0.525 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5518, allocations: 44.75 kB / 0.525 GB, free: 77.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5518, allocations: 3.844 kB / 0.525 GB, free: 77.91 MB / 378.7 MB Notification: Performance of Templates: time 0.007436/0.5592, allocations: 4.416 MB / 0.5293 GB, free: 77.61 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 -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_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:24: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.o] Error 1