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.001591/0.001592, allocations: 200.9 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000731/0.0007309, allocations: 98.34 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002301, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2555, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3737, allocations: 105.3 MB / 0.5026 GB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.374, allocations: 91.95 kB / 0.5027 GB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.571/2.945, allocations: 0.8443 GB / 1.347 GB, free: 32.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/2.945, allocations: 0 / 1.347 GB, free: 32.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001198/2.946, allocations: 385.8 kB / 1.347 GB, free: 32.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.05519/3.001, allocations: 16.41 MB / 1.363 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/3.001, allocations: 8.031 kB / 1.363 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03133/3.033, allocations: 6.101 MB / 1.369 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02689/3.059, allocations: 12.13 MB / 1.381 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/3.061, allocations: 1.26 MB / 1.382 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006123/3.067, allocations: 1.633 MB / 1.384 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4157/3.483, allocations: 28.54 MB / 1.412 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008301/3.484, allocations: 17.5 kB / 1.412 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005639/3.49, allocations: 0.7082 MB / 1.413 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/3.491, allocations: 1.303 MB / 1.414 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04664/3.538, allocations: 22.57 MB / 1.436 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1363/3.674, allocations: 87.65 MB / 1.522 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02778/3.702, allocations: 35.34 MB / 1.556 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008255/3.71, allocations: 5.442 MB / 1.561 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004924/3.711, allocations: 283.8 kB / 1.562 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/3.711, allocations: 102.8 kB / 1.562 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=613): time 7.725e-06/3.711, allocations: 0 / 1.562 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=613): time 0.0328/3.744, allocations: 15.37 MB / 1.577 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/3.744, allocations: 139.4 kB / 1.577 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009542/3.753, allocations: 6.378 MB / 1.583 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000817/3.754, allocations: 117.7 kB / 1.583 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004877/3.759, allocations: 7.558 MB / 1.591 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/3.761, allocations: 2.126 MB / 1.593 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/3.762, allocations: 212 kB / 1.593 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006053/3.763, allocations: 0.7488 MB / 1.594 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007656/3.77, allocations: 4.874 MB / 1.598 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3075/4.078, allocations: 10.38 MB / 1.608 GB, free: 89.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01752/4.096, allocations: 15.62 MB / 1.624 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002594/4.096, allocations: 44.75 kB / 1.624 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.02651/4.122, allocations: 15.68 MB / 1.639 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/4.123, allocations: 74.84 kB / 1.639 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/4.123, allocations: 158 kB / 1.639 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/4.126, allocations: 1.37 MB / 1.641 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008167/4.134, allocations: 2.354 MB / 1.643 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/4.147, allocations: 10.84 MB / 1.654 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008481/4.156, allocations: 1.367 MB / 1.655 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/4.158, allocations: 0.5374 MB / 1.655 GB, free: 81.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (1260): * Single equations (assignments): 1239 * 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%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01538/4.174, allocations: 7.147 MB / 1.662 GB, free: 81.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/4.175, allocations: 0.6266 MB / 1.663 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/4.19, allocations: 10.51 MB / 1.673 GB, free: 80.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01057/4.201, allocations: 8.113 MB / 1.681 GB, free: 80.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/4.201, allocations: 11.34 kB / 1.681 GB, free: 80.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-05/4.201, allocations: 26.91 kB / 1.681 GB, free: 80.56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04521/4.246, allocations: 26.34 MB / 1.707 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/4.246, allocations: 8.406 kB / 1.707 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/4.25, allocations: 1.011 MB / 1.708 GB, free: 75.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/4.252, allocations: 1.179 MB / 1.709 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005255/4.253, allocations: 132.5 kB / 1.709 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/4.265, allocations: 10.43 MB / 1.719 GB, free: 69.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/4.265, allocations: 10.59 kB / 1.719 GB, free: 69.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/4.283, allocations: 14.79 MB / 1.734 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003365/4.287, allocations: 1.5 MB / 1.735 GB, free: 62.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/4.288, allocations: 110.9 kB / 1.735 GB, free: 61.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/4.291, allocations: 328.8 kB / 1.736 GB, free: 61.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007918/4.292, allocations: 411.5 kB / 1.736 GB, free: 61.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/4.292, allocations: 175.8 kB / 1.736 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00665/4.299, allocations: 4.263 MB / 1.74 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/4.299, allocations: 0 / 1.74 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01331/4.312, allocations: 4.068 MB / 1.744 GB, free: 57.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (546): * Single equations (assignments): 525 * 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%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/4.313, allocations: 388.2 kB / 1.745 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01646/4.33, allocations: 11.72 MB / 1.756 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/4.33, allocations: 2.531 kB / 1.756 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007235/4.337, allocations: 4.858 MB / 1.761 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01529/4.353, allocations: 1.477 MB / 1.762 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06137/4.414, allocations: 35.47 MB / 1.797 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.32/4.734, allocations: 11.41 MB / 1.808 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01071/4.745, allocations: 3.95 MB / 1.812 GB, free: 74.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/4.746, allocations: 0.5105 MB / 1.813 GB, free: 74.78 MB / 0.5573 GB Notification: Performance of SimCode: time 1.663e-06/4.746, allocations: 0 / 1.813 GB, free: 74.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.1606/4.907, allocations: 99.44 MB / 1.91 GB, free: 69.24 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 -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_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:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_functions.h:410: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:419: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:428: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:437: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:446: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:455: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:464: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:473: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:482: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:491: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