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.001485/0.001485, allocations: 175.5 kB / 17.4 MB, free: 4.422 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.404/1.404, allocations: 223.3 MB / 241.4 MB, free: 9.969 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.0007433/0.0007433, allocations: 97.59 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 11.94 kB / 352.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 50.39 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3151, allocations: 104.5 MB / 0.4954 GB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.3155, allocations: 87.95 kB / 0.4954 GB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.541/2.857, allocations: 0.8017 GB / 1.297 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/2.857, allocations: 0 / 1.297 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001281/2.858, allocations: 389.6 kB / 1.297 GB, free: 36.11 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.06181/2.92, allocations: 16.38 MB / 1.313 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/2.92, allocations: 7.688 kB / 1.313 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04657/2.966, allocations: 6.087 MB / 1.319 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03467/3.001, allocations: 12.13 MB / 1.331 GB, free: 28.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001642/3.003, allocations: 1.251 MB / 1.333 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007143/3.01, allocations: 1.639 MB / 1.334 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08816/3.098, allocations: 28.54 MB / 1.362 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008984/3.099, allocations: 27.52 kB / 1.362 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006905/3.106, allocations: 0.7067 MB / 1.363 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001925/3.108, allocations: 1.299 MB / 1.364 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3895/3.498, allocations: 23.3 MB / 1.387 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/3.63, allocations: 87.24 MB / 1.472 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02443/3.655, allocations: 35.34 MB / 1.506 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008025/3.663, allocations: 5.442 MB / 1.512 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/3.663, allocations: 208.7 kB / 1.512 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/3.663, allocations: 95.06 kB / 1.512 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 8.166e-06/3.663, allocations: 0 / 1.512 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.03349/3.697, allocations: 15.37 MB / 1.527 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/3.697, allocations: 140 kB / 1.527 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/3.708, allocations: 6.373 MB / 1.533 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001304/3.709, allocations: 120.8 kB / 1.534 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007421/3.716, allocations: 7.554 MB / 1.541 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003341/3.72, allocations: 2.127 MB / 1.543 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/3.721, allocations: 212.4 kB / 1.543 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007155/3.722, allocations: 0.7531 MB / 1.544 GB, free: 172 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01328/3.735, allocations: 5.275 MB / 1.549 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/3.748, allocations: 9.612 MB / 1.558 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3389/4.087, allocations: 16.47 MB / 1.575 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/4.087, allocations: 48.83 kB / 1.575 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.02624/4.113, allocations: 15.68 MB / 1.59 GB, free: 79.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/4.113, allocations: 73.81 kB / 1.59 GB, free: 79.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/4.113, allocations: 158.4 kB / 1.59 GB, free: 79.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/4.116, allocations: 1.372 MB / 1.591 GB, free: 79.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007956/4.124, allocations: 2.357 MB / 1.594 GB, free: 79.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/4.138, allocations: 10.82 MB / 1.604 GB, free: 78.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007845/4.146, allocations: 1.374 MB / 1.606 GB, free: 78.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/4.147, allocations: 0.5341 MB / 1.606 GB, free: 78.22 MB / 0.5417 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.01143/4.159, allocations: 7.144 MB / 1.613 GB, free: 78.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/4.16, allocations: 0.6241 MB / 1.614 GB, free: 77.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/4.174, allocations: 10.51 MB / 1.624 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01048/4.185, allocations: 8.108 MB / 1.632 GB, free: 77.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/4.185, allocations: 14.88 kB / 1.632 GB, free: 77.08 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.473e-05/4.185, allocations: 28.5 kB / 1.632 GB, free: 77.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/4.226, allocations: 26.09 MB / 1.657 GB, free: 74.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/4.226, allocations: 10.53 kB / 1.657 GB, free: 74.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003471/4.23, allocations: 1.014 MB / 1.658 GB, free: 74.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/4.233, allocations: 1.174 MB / 1.66 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003679/4.233, allocations: 128.2 kB / 1.66 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/4.245, allocations: 10.45 MB / 1.67 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/4.245, allocations: 13.34 kB / 1.67 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/4.263, allocations: 14.79 MB / 1.684 GB, free: 62.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/4.266, allocations: 1.498 MB / 1.686 GB, free: 62.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008476/4.267, allocations: 105.9 kB / 1.686 GB, free: 62.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/4.269, allocations: 334.4 kB / 1.686 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006976/4.27, allocations: 419.2 kB / 1.687 GB, free: 61.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003272/4.27, allocations: 171.5 kB / 1.687 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005697/4.276, allocations: 4.261 MB / 1.691 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/4.276, allocations: 0 / 1.691 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01043/4.286, allocations: 4.068 MB / 1.695 GB, free: 59.07 MB / 0.5417 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.0008398/4.287, allocations: 390.1 kB / 1.695 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01435/4.302, allocations: 11.72 MB / 1.707 GB, free: 49.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/4.302, allocations: 4.5 kB / 1.707 GB, free: 49.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005899/4.307, allocations: 4.851 MB / 1.712 GB, free: 45.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/4.319, allocations: 1.482 MB / 1.713 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05257/4.372, allocations: 35.46 MB / 1.748 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02149/4.394, allocations: 11.26 MB / 1.759 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01193/4.405, allocations: 3.951 MB / 1.762 GB, free: 100 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004065/4.41, allocations: 0.6149 MB / 1.763 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/4.41, allocations: 0 / 1.763 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.4622/4.872, allocations: 100.3 MB / 1.861 GB, free: 75.58 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 -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_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:26: ./Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.o] Error 1