Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 199.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 227.2 MB / 245 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008521/0.000852, allocations: 104.2 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00022/0.00022, allocations: 4 kB / 358 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2076, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.5709, allocations: 168.6 MB / 0.5645 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5712, allocations: 109.7 kB / 0.5646 GB, free: 27.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207/1.778, allocations: 409.1 MB / 0.9641 GB, free: 42.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.778, allocations: 0 / 0.9641 GB, free: 42.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001007/1.779, allocations: 261.4 kB / 0.9644 GB, free: 42.36 MB / 474.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.03484/1.814, allocations: 10.94 MB / 0.975 GB, free: 38.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.814, allocations: 14.81 kB / 0.9751 GB, free: 38.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/1.835, allocations: 3.795 MB / 0.9788 GB, free: 37.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/1.859, allocations: 8.94 MB / 0.9875 GB, free: 33.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/1.86, allocations: 0.8027 MB / 0.9883 GB, free: 32.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005103/1.865, allocations: 1.06 MB / 0.9893 GB, free: 32.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/1.904, allocations: 16.44 MB / 1.005 GB, free: 18.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004317/1.905, allocations: 15.81 kB / 1.005 GB, free: 18.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002657/1.907, allocations: 470.9 kB / 1.006 GB, free: 18.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005592/1.908, allocations: 0.7092 MB / 1.007 GB, free: 17.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/1.934, allocations: 13.77 MB / 1.02 GB, free: 3.957 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3174/2.252, allocations: 57.09 MB / 1.076 GB, free: 27.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/2.27, allocations: 21.6 MB / 1.097 GB, free: 26.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/2.287, allocations: 10.34 MB / 1.107 GB, free: 24.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/2.287, allocations: 71.25 kB / 1.107 GB, free: 24.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=333): time 5.07e-06/2.287, allocations: 5.438 kB / 1.107 GB, free: 24.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=360): time 0.02917/2.317, allocations: 17.57 MB / 1.124 GB, free: 16.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/2.317, allocations: 117.1 kB / 1.124 GB, free: 15.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005892/2.323, allocations: 4.494 MB / 1.129 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/2.323, allocations: 82.88 kB / 1.129 GB, free: 14.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002156/2.325, allocations: 5.132 MB / 1.134 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/2.326, allocations: 1.254 MB / 1.135 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/2.327, allocations: 126.4 kB / 1.135 GB, free: 9.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/2.327, allocations: 0.554 MB / 1.136 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/2.331, allocations: 2.714 MB / 1.138 GB, free: 8.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/2.335, allocations: 5.393 MB / 1.144 GB, free: 3.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/2.34, allocations: 3.86 MB / 1.147 GB, free: 1.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/2.34, allocations: 25.72 kB / 1.147 GB, free: 1.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01517/2.356, allocations: 9.351 MB / 1.156 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/2.356, allocations: 46.97 kB / 1.157 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/2.356, allocations: 90.84 kB / 1.157 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/2.358, allocations: 0.9299 MB / 1.157 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/2.363, allocations: 1.489 MB / 1.159 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/2.376, allocations: 9.933 MB / 1.169 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/2.382, allocations: 441 kB / 1.169 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/2.383, allocations: 326.1 kB / 1.169 GB, free: 7.164 MB / 0.4948 GB 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.008321/2.392, allocations: 3.747 MB / 1.173 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/2.393, allocations: 0.5038 MB / 1.174 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/2.403, allocations: 6.164 MB / 1.18 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004553/2.408, allocations: 3.232 MB / 1.183 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.481e-05/2.408, allocations: 11.12 kB / 1.183 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/2.408, allocations: 16.83 kB / 1.183 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/2.435, allocations: 15.15 MB / 1.198 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/2.435, allocations: 4 kB / 1.198 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/2.438, allocations: 0.6339 MB / 1.198 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/2.44, allocations: 0.8981 MB / 1.199 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004058/2.441, allocations: 82.75 kB / 1.199 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/2.455, allocations: 13.11 MB / 1.212 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.455, allocations: 4 kB / 1.212 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/2.47, allocations: 9.706 MB / 1.221 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/2.473, allocations: 1.027 MB / 1.222 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008291/2.474, allocations: 71.61 kB / 1.222 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/2.476, allocations: 231.9 kB / 1.223 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.477, allocations: 314.3 kB / 1.223 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007146/2.478, allocations: 147 kB / 1.223 GB, free: 0 / 0.5261 GB Notification: Performance of sorting global known variables: time 0.2728/2.751, allocations: 3.338 MB / 1.226 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/2.751, allocations: 0 / 1.226 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009742/2.761, allocations: 1.873 MB / 1.228 GB, free: 100.2 MB / 0.5261 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.001491/2.762, allocations: 0.5624 MB / 1.229 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01259/2.775, allocations: 7.046 MB / 1.236 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/2.775, allocations: 3.125 kB / 1.236 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005564/2.78, allocations: 3.535 MB / 1.239 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/2.786, allocations: 1.091 MB / 1.24 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/2.823, allocations: 22.59 MB / 1.262 GB, free: 89.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/2.834, allocations: 6.752 MB / 1.269 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00741/2.842, allocations: 1.84 MB / 1.271 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/2.843, allocations: 380 kB / 1.271 GB, free: 88.56 MB / 0.5261 GB Notification: Performance of SimCode: time 9.71e-07/2.843, allocations: 1.312 kB / 1.271 GB, free: 88.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.1207/2.964, allocations: 72.68 MB / 1.342 GB, free: 75.97 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1246: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1255: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_functions.h:1264: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.o] Error 1