Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000965/0.0009651, allocations: 198.3 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.204/1.204, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009252/0.0009251, allocations: 107.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002114/0.0002114, allocations: 4 kB / 357.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.3099, allocations: 105.2 MB / 0.5026 GB, free: 1.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3102, allocations: 88.58 kB / 0.5027 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449/2.759, allocations: 0.8494 GB / 1.352 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.385e-06/2.759, allocations: 4 kB / 1.352 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009897/2.76, allocations: 386.9 kB / 1.352 GB, free: 29.71 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.04887/2.809, allocations: 16.57 MB / 1.369 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/2.809, allocations: 8.031 kB / 1.369 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/2.84, allocations: 6.101 MB / 1.375 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03565/2.876, allocations: 12.01 MB / 1.386 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2677/3.143, allocations: 1.252 MB / 1.388 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005715/3.149, allocations: 1.635 MB / 1.389 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06158/3.211, allocations: 28.4 MB / 1.417 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/3.211, allocations: 14.81 kB / 1.417 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004071/3.215, allocations: 0.7104 MB / 1.418 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/3.217, allocations: 1.297 MB / 1.419 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/3.261, allocations: 22.58 MB / 1.441 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1399/3.401, allocations: 87.59 MB / 1.526 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02912/3.43, allocations: 35.35 MB / 1.561 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/3.431, allocations: 289.8 kB / 1.561 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/3.431, allocations: 94.72 kB / 1.561 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=613): time 1.521e-05/3.431, allocations: 6.734 kB / 1.561 GB, free: 8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=613): time 0.0436/3.475, allocations: 17.98 MB / 1.579 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/3.475, allocations: 137.8 kB / 1.579 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/3.486, allocations: 5.733 MB / 1.585 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/3.487, allocations: 117.7 kB / 1.585 GB, free: 10 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004617/3.492, allocations: 7.555 MB / 1.592 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/3.494, allocations: 2.122 MB / 1.594 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/3.495, allocations: 216 kB / 1.594 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00055/3.495, allocations: 0.7499 MB / 1.595 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0227/3.518, allocations: 6.229 MB / 1.601 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3106/3.829, allocations: 9.568 MB / 1.611 GB, free: 84.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/3.839, allocations: 7.282 MB / 1.618 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000208/3.839, allocations: 46.75 kB / 1.618 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.02448/3.863, allocations: 15.76 MB / 1.633 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/3.864, allocations: 70.91 kB / 1.633 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/3.864, allocations: 162.2 kB / 1.633 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/3.867, allocations: 1.491 MB / 1.635 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/3.876, allocations: 2.327 MB / 1.637 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/3.892, allocations: 12.37 MB / 1.649 GB, free: 82.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009986/3.902, allocations: 1.362 MB / 1.65 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/3.904, allocations: 0.5352 MB / 1.651 GB, free: 82.62 MB / 0.5573 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.01288/3.917, allocations: 7.146 MB / 1.658 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/3.918, allocations: 0.6175 MB / 1.659 GB, free: 82.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/3.933, allocations: 10.61 MB / 1.669 GB, free: 81.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/3.943, allocations: 8.19 MB / 1.677 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/3.943, allocations: 22.02 kB / 1.677 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.236e-05/3.944, allocations: 31.88 kB / 1.677 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04889/3.992, allocations: 26.09 MB / 1.702 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/3.992, allocations: 10.89 kB / 1.702 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/3.996, allocations: 0.9847 MB / 1.703 GB, free: 77.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/3.999, allocations: 1.283 MB / 1.705 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/3.999, allocations: 122.7 kB / 1.705 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/4.012, allocations: 11.97 MB / 1.716 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/4.012, allocations: 9.375 kB / 1.716 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/4.029, allocations: 15.71 MB / 1.732 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/4.033, allocations: 1.5 MB / 1.733 GB, free: 62.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008124/4.034, allocations: 109.1 kB / 1.733 GB, free: 61.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/4.036, allocations: 330.1 kB / 1.734 GB, free: 61.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/4.037, allocations: 409.7 kB / 1.734 GB, free: 61.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/4.038, allocations: 169.9 kB / 1.734 GB, free: 61.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005919/4.043, allocations: 4.263 MB / 1.738 GB, free: 60.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/4.043, allocations: 0 / 1.738 GB, free: 60.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01015/4.054, allocations: 4.091 MB / 1.742 GB, free: 56.61 MB / 0.5573 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.0008266/4.054, allocations: 381.3 kB / 1.743 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01446/4.069, allocations: 11.84 MB / 1.754 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/4.069, allocations: 0 / 1.754 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005738/4.075, allocations: 4.973 MB / 1.759 GB, free: 41.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/4.081, allocations: 1.403 MB / 1.761 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/4.141, allocations: 35.99 MB / 1.796 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3305/4.472, allocations: 11.92 MB / 1.807 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01251/4.484, allocations: 3.932 MB / 1.811 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/4.487, allocations: 0.5027 MB / 1.812 GB, free: 68.88 MB / 0.5573 GB Notification: Performance of SimCode: time 8.91e-07/4.487, allocations: 0 / 1.812 GB, free: 68.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.1603/4.647, allocations: 99.08 MB / 1.908 GB, free: 63.41 MB / 0.5573 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_model.h:24: ./Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.o] Error 1