Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.398/1.398, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.000834/0.0008338, allocations: 85.66 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 4 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2409, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.6367, allocations: 167.7 MB / 0.5559 GB, free: 39.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.637, allocations: 109.3 kB / 0.556 GB, free: 39.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235/1.872, allocations: 391.7 MB / 0.9385 GB, free: 38.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.872, allocations: 0 / 0.9385 GB, free: 38.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007306/1.873, allocations: 251 kB / 0.9387 GB, free: 38.18 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03555/1.908, allocations: 10.9 MB / 0.9494 GB, free: 33.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.908, allocations: 6.844 kB / 0.9494 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0216/1.93, allocations: 3.763 MB / 0.9531 GB, free: 32.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0215/1.951, allocations: 8.918 MB / 0.9618 GB, free: 28.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/1.952, allocations: 0.8069 MB / 0.9626 GB, free: 27.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00423/1.957, allocations: 1.058 MB / 0.9636 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.993, allocations: 16.44 MB / 0.9797 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004255/1.993, allocations: 18.56 kB / 0.9797 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003839/1.997, allocations: 471.2 kB / 0.9801 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/1.998, allocations: 0.7022 MB / 0.9808 GB, free: 9.824 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03473/2.033, allocations: 13.78 MB / 0.9943 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4179/2.451, allocations: 55.44 MB / 1.048 GB, free: 35.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/2.468, allocations: 21.28 MB / 1.069 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01986/2.488, allocations: 9.82 MB / 1.079 GB, free: 34.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/2.488, allocations: 70.53 kB / 1.079 GB, free: 34.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=333): time 5.831e-06/2.488, allocations: 6.047 kB / 1.079 GB, free: 34.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=360): time 0.03674/2.525, allocations: 17.54 MB / 1.096 GB, free: 29.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/2.525, allocations: 121.2 kB / 1.096 GB, free: 29.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007089/2.532, allocations: 4.476 MB / 1.1 GB, free: 29.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006477/2.533, allocations: 85.3 kB / 1.101 GB, free: 29.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/2.536, allocations: 5.121 MB / 1.106 GB, free: 26.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/2.537, allocations: 1.256 MB / 1.107 GB, free: 26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/2.537, allocations: 132.2 kB / 1.107 GB, free: 26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/2.538, allocations: 0.5584 MB / 1.107 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/2.542, allocations: 2.715 MB / 1.11 GB, free: 25.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/2.546, allocations: 5.393 MB / 1.115 GB, free: 20.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/2.551, allocations: 3.867 MB / 1.119 GB, free: 18.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/2.551, allocations: 24.31 kB / 1.119 GB, free: 18.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01633/2.568, allocations: 9.304 MB / 1.128 GB, free: 15.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/2.568, allocations: 44.47 kB / 1.128 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/2.568, allocations: 90.72 kB / 1.128 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/2.57, allocations: 0.931 MB / 1.129 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/2.575, allocations: 1.491 MB / 1.131 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/2.587, allocations: 9.933 MB / 1.14 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/2.594, allocations: 434 kB / 1.141 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/2.595, allocations: 332.5 kB / 1.141 GB, free: 8.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 412 * 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 (765): * Single equations (assignments): 757 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 5,(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008117/2.603, allocations: 3.741 MB / 1.145 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/2.604, allocations: 0.507 MB / 1.145 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/2.615, allocations: 6.146 MB / 1.151 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004587/2.62, allocations: 3.234 MB / 1.154 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/2.62, allocations: 11.34 kB / 1.154 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/2.62, allocations: 16.27 kB / 1.155 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/2.647, allocations: 15.18 MB / 1.169 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/2.647, allocations: 4 kB / 1.169 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002681/2.65, allocations: 0.633 MB / 1.17 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/2.652, allocations: 0.8993 MB / 1.171 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/2.653, allocations: 82.84 kB / 1.171 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/2.667, allocations: 13.09 MB / 1.184 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/2.667, allocations: 11.17 kB / 1.184 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/2.682, allocations: 9.7 MB / 1.193 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003242/2.685, allocations: 1.024 MB / 1.194 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000872/2.686, allocations: 70.81 kB / 1.194 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/2.688, allocations: 231.6 kB / 1.194 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/2.689, allocations: 270 kB / 1.195 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/2.689, allocations: 103.8 kB / 1.195 GB, free: 172 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3424/3.031, allocations: 4.099 MB / 1.199 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/3.031, allocations: 0.6875 kB / 1.199 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01107/3.042, allocations: 1.86 MB / 1.201 GB, free: 95.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel,smee.phiMechanical,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.excitation.electroMagneticConverter.Phi.re) * 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 (315): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(8,62.5%) 26,(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/3.044, allocations: 0.5652 MB / 1.201 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01203/3.056, allocations: 7.055 MB / 1.208 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/3.056, allocations: 0 / 1.208 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005967/3.062, allocations: 3.537 MB / 1.212 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/3.069, allocations: 1.08 MB / 1.213 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04018/3.109, allocations: 22.43 MB / 1.235 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008631/3.117, allocations: 6.757 MB / 1.241 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006681/3.124, allocations: 1.836 MB / 1.243 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/3.125, allocations: 373.8 kB / 1.243 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/3.125, allocations: 0 / 1.243 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.1255/3.251, allocations: 72.47 MB / 1.314 GB, free: 69.3 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_model.h:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1245:1: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1254:1: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24v' _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24v omc__omcQComplexOutput_24rotorAngleQS_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1263:1: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 3 errors generated. make: *** [: Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.o] Error 1