Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.00132, allocations: 198.4 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.222/1.222, allocations: 227.2 MB / 245 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009519/0.0009519, allocations: 107.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002497, allocations: 4 kB / 358 MB, free: 9.285 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2068, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.5831, allocations: 148.4 MB / 0.5448 GB, free: 39.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5833, allocations: 109.9 kB / 0.5449 GB, free: 39.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113/1.697, allocations: 365.7 MB / 0.902 GB, free: 43.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.697, allocations: 0 / 0.902 GB, free: 43.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007094/1.698, allocations: 246.3 kB / 0.9023 GB, free: 43.27 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03501/1.733, allocations: 10.93 MB / 0.9129 GB, free: 39.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.733, allocations: 7.594 kB / 0.9129 GB, free: 39.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02632/1.759, allocations: 4.786 MB / 0.9176 GB, free: 39.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/1.781, allocations: 9.536 MB / 0.9269 GB, free: 38.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006967/1.781, allocations: 0.7734 MB / 0.9277 GB, free: 38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/1.785, allocations: 1.02 MB / 0.9287 GB, free: 37.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/1.824, allocations: 17.01 MB / 0.9453 GB, free: 36.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003224/1.824, allocations: 17.97 kB / 0.9453 GB, free: 36.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/1.827, allocations: 446.3 kB / 0.9457 GB, free: 36.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000663/1.827, allocations: 0.7463 MB / 0.9465 GB, free: 36.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/1.855, allocations: 15.34 MB / 0.9614 GB, free: 32.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08666/1.942, allocations: 57.21 MB / 1.017 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2821/2.224, allocations: 31.37 MB / 1.048 GB, free: 31.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/2.247, allocations: 10.52 MB / 1.058 GB, free: 30 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.845e-05/2.247, allocations: 81.83 kB / 1.058 GB, free: 29.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=410): time 8.195e-06/2.247, allocations: 0 / 1.058 GB, free: 29.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=435): time 0.04612/2.293, allocations: 22.22 MB / 1.08 GB, free: 26.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/2.293, allocations: 126.6 kB / 1.08 GB, free: 25.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/2.3, allocations: 4.122 MB / 1.084 GB, free: 25.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009645/2.301, allocations: 97.42 kB / 1.084 GB, free: 25.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002739/2.303, allocations: 4.645 MB / 1.089 GB, free: 23.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/2.305, allocations: 1.483 MB / 1.09 GB, free: 22.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/2.306, allocations: 125.1 kB / 1.09 GB, free: 22.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003434/2.306, allocations: 0.541 MB / 1.091 GB, free: 21.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0047/2.311, allocations: 2.946 MB / 1.094 GB, free: 21.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/2.316, allocations: 4.941 MB / 1.099 GB, free: 19.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/2.322, allocations: 3.984 MB / 1.102 GB, free: 19.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.784e-05/2.322, allocations: 20.31 kB / 1.102 GB, free: 19.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0162/2.338, allocations: 9.8 MB / 1.112 GB, free: 19.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/2.338, allocations: 32.78 kB / 1.112 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/2.338, allocations: 62.81 kB / 1.112 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/2.342, allocations: 1.665 MB / 1.114 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/2.348, allocations: 1.338 MB / 1.115 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/2.368, allocations: 16.98 MB / 1.132 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005816/2.373, allocations: 333.5 kB / 1.132 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/2.375, allocations: 281.9 kB / 1.132 GB, free: 27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 292 * 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 (679): * Single equations (assignments): 675 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,59.2%) 28,(1,100.0%) 1,(14,38.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007868/2.383, allocations: 3.897 MB / 1.136 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.384, allocations: 0.4891 MB / 1.137 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/2.396, allocations: 7.925 MB / 1.144 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/2.396, allocations: 42.84 kB / 1.144 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/2.396, allocations: 18.25 kB / 1.144 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/2.396, allocations: 23.34 kB / 1.144 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/2.423, allocations: 17.76 MB / 1.162 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.423, allocations: 4.344 kB / 1.162 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/2.426, allocations: 0.7533 MB / 1.162 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/2.43, allocations: 1.557 MB / 1.164 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006163/2.431, allocations: 97.92 kB / 1.164 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02191/2.453, allocations: 19.93 MB / 1.184 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/2.453, allocations: 10.69 kB / 1.184 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/2.47, allocations: 12.37 MB / 1.196 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003329/2.474, allocations: 1.184 MB / 1.197 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008388/2.475, allocations: 91.28 kB / 1.197 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/2.477, allocations: 247.4 kB / 1.197 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007669/2.478, allocations: 340.2 kB / 1.197 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/2.478, allocations: 127.1 kB / 1.198 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0054/2.484, allocations: 3.109 MB / 1.201 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/2.484, allocations: 4 kB / 1.201 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008623/2.492, allocations: 1.929 MB / 1.202 GB, free: 1.207 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.w) * 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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,38.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/2.494, allocations: 0.5836 MB / 1.203 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01895/2.513, allocations: 8.666 MB / 1.211 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/2.513, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007815/2.521, allocations: 4.759 MB / 1.216 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/2.526, allocations: 1.188 MB / 1.217 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/2.814, allocations: 23.76 MB / 1.24 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009527/2.824, allocations: 6.961 MB / 1.247 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007588/2.832, allocations: 1.868 MB / 1.249 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/2.833, allocations: 382.3 kB / 1.249 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/2.833, allocations: 2.406 kB / 1.249 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.1325/2.966, allocations: 82.64 MB / 1.33 GB, free: 82.64 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_InductionMachines_IMC_Initialize -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_functions.h:1208:1: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i' _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i omc__omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.o] Error 1