Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.2 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.248/1.248, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008239/0.0008238, allocations: 99.25 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1973, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3076, allocations: 104.4 MB / 0.494 GB, free: 8.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.3079, allocations: 96.47 kB / 0.4941 GB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504/2.812, allocations: 0.8064 GB / 1.3 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.395e-06/2.812, allocations: 7.469 kB / 1.3 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001176/2.813, allocations: 388.7 kB / 1.301 GB, free: 36.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.0557/2.869, allocations: 16.55 MB / 1.317 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/2.869, allocations: 7.562 kB / 1.317 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03068/2.9, allocations: 6.087 MB / 1.323 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/2.925, allocations: 12.01 MB / 1.335 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/2.926, allocations: 1.251 MB / 1.336 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005593/2.931, allocations: 1.637 MB / 1.338 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0672/2.999, allocations: 28.4 MB / 1.365 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005864/2.999, allocations: 15.42 kB / 1.365 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006051/3.005, allocations: 0.7145 MB / 1.366 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/3.007, allocations: 1.3 MB / 1.367 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3527/3.36, allocations: 23.16 MB / 1.39 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/3.497, allocations: 87.17 MB / 1.475 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/3.521, allocations: 35.36 MB / 1.51 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/3.522, allocations: 208.7 kB / 1.51 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/3.522, allocations: 99.56 kB / 1.51 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=613): time 1.08e-05/3.522, allocations: 1.5 kB / 1.51 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=613): time 0.04234/3.564, allocations: 17.81 MB / 1.527 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/3.564, allocations: 143.2 kB / 1.527 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009796/3.574, allocations: 5.726 MB / 1.533 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/3.575, allocations: 122.8 kB / 1.533 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005523/3.581, allocations: 7.559 MB / 1.54 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002935/3.584, allocations: 2.124 MB / 1.543 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007571/3.585, allocations: 210.6 kB / 1.543 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006412/3.585, allocations: 0.7482 MB / 1.543 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008928/3.594, allocations: 5.013 MB / 1.548 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/3.606, allocations: 9.574 MB / 1.558 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/3.618, allocations: 7.279 MB / 1.565 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/3.618, allocations: 48 kB / 1.565 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.356/3.974, allocations: 16.35 MB / 1.581 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/3.974, allocations: 75.75 kB / 1.581 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/3.974, allocations: 159.2 kB / 1.581 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/3.978, allocations: 1.489 MB / 1.582 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008183/3.986, allocations: 2.324 MB / 1.585 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/4.003, allocations: 12.36 MB / 1.597 GB, free: 78.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/4.014, allocations: 1.371 MB / 1.598 GB, free: 78.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/4.017, allocations: 0.5299 MB / 1.599 GB, free: 78.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 725 * 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 (1248): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01451/4.031, allocations: 7.145 MB / 1.606 GB, free: 78.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/4.033, allocations: 0.6218 MB / 1.606 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/4.05, allocations: 10.62 MB / 1.617 GB, free: 77.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01254/4.062, allocations: 8.188 MB / 1.625 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/4.062, allocations: 16.02 kB / 1.625 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/4.063, allocations: 29.39 kB / 1.625 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05685/4.119, allocations: 25.86 MB / 1.65 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/4.119, allocations: 3.625 kB / 1.65 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004011/4.123, allocations: 0.9801 MB / 1.651 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002921/4.126, allocations: 1.276 MB / 1.652 GB, free: 74.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/4.127, allocations: 128.9 kB / 1.652 GB, free: 74.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/4.141, allocations: 11.97 MB / 1.664 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/4.141, allocations: 9.75 kB / 1.664 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/4.162, allocations: 15.71 MB / 1.679 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004747/4.167, allocations: 1.499 MB / 1.681 GB, free: 63.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/4.168, allocations: 110.5 kB / 1.681 GB, free: 63.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003594/4.172, allocations: 326.9 kB / 1.681 GB, free: 63.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/4.173, allocations: 408.8 kB / 1.682 GB, free: 63.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003469/4.173, allocations: 168.2 kB / 1.682 GB, free: 63.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006905/4.18, allocations: 4.263 MB / 1.686 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/4.18, allocations: 5.781 kB / 1.686 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.015/4.195, allocations: 4.084 MB / 1.69 GB, free: 60.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 1 (currentSensorL.plug_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 (530): * Single equations (assignments): 509 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001676/4.197, allocations: 394.6 kB / 1.69 GB, free: 60.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01905/4.216, allocations: 11.84 MB / 1.702 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/4.216, allocations: 0 / 1.702 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008713/4.225, allocations: 4.979 MB / 1.707 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008368/4.233, allocations: 1.394 MB / 1.708 GB, free: 49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0603/4.293, allocations: 35.87 MB / 1.743 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01954/4.313, allocations: 11.54 MB / 1.754 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01369/4.327, allocations: 3.924 MB / 1.758 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/4.329, allocations: 0.4994 MB / 1.759 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/4.329, allocations: 4 kB / 1.759 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of Templates: time 0.4597/4.789, allocations: 99.77 MB / 1.856 GB, free: 76.52 MB / 0.5573 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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_Machines_Examples_TransformerTestbench -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_model.h:24: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:432:1: error: unknown type name '_omcQComplexOutput_24currentSensorL_24currentSensor_24i' _omcQComplexOutput_24currentSensorL_24currentSensor_24i omc__omcQComplexOutput_24currentSensorL_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:441:1: error: unknown type name '_omcQComplexOutput_24currentSensorL_24i' _omcQComplexOutput_24currentSensorL_24i omc__omcQComplexOutput_24currentSensorL_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:450:1: error: unknown type name '_omcQComplexOutput_24currentSensorS_24currentSensor_24i' _omcQComplexOutput_24currentSensorS_24currentSensor_24i omc__omcQComplexOutput_24currentSensorS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:459:1: error: unknown type name '_omcQComplexOutput_24currentSensorS_24i' _omcQComplexOutput_24currentSensorS_24i omc__omcQComplexOutput_24currentSensorS_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:468:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensorL_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:477:1: error: unknown type name '_omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower' _omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower omc__omcQComplexOutput_24electricalPowerSensorS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:486:1: error: unknown type name '_omcQComplexOutput_24voltageSensorL_24v' _omcQComplexOutput_24voltageSensorL_24v omc__omcQComplexOutput_24voltageSensorL_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:495:1: error: unknown type name '_omcQComplexOutput_24voltageSensorL_24voltageSensor_24v' _omcQComplexOutput_24voltageSensorL_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensorL_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:504:1: error: unknown type name '_omcQComplexOutput_24voltageSensorS_24v' _omcQComplexOutput_24voltageSensorS_24v omc__omcQComplexOutput_24voltageSensorS_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:513:1: error: unknown type name '_omcQComplexOutput_24voltageSensorS_24voltageSensor_24v' _omcQComplexOutput_24voltageSensorS_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensorS_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 10 errors generated. make: *** [: Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.o] Error 1