Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009543/0.0009541, allocations: 175.7 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.506/1.506, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0007825/0.0007825, allocations: 91.88 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 15.94 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.5732, allocations: 147.8 MB / 0.5377 GB, free: 49.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5735, allocations: 108.3 kB / 0.5378 GB, free: 49.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071/1.645, allocations: 346.4 MB / 0.8761 GB, free: 43.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.645, allocations: 0 / 0.8761 GB, free: 43.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009219/1.646, allocations: 248.2 kB / 0.8763 GB, free: 43.35 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.03213/1.678, allocations: 10.75 MB / 0.8868 GB, free: 39.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.678, allocations: 9.219 kB / 0.8868 GB, free: 39.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02494/1.703, allocations: 4.762 MB / 0.8914 GB, free: 39.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.722, allocations: 8.813 MB / 0.9 GB, free: 38.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/1.723, allocations: 0.7742 MB / 0.9008 GB, free: 38.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/1.727, allocations: 1.023 MB / 0.9018 GB, free: 38.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03863/1.765, allocations: 17.1 MB / 0.9185 GB, free: 36.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004399/1.766, allocations: 18.47 kB / 0.9185 GB, free: 36.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/1.769, allocations: 446.4 kB / 0.9189 GB, free: 36.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006254/1.769, allocations: 0.7565 MB / 0.9197 GB, free: 36.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/1.797, allocations: 15.33 MB / 0.9346 GB, free: 36.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09466/1.892, allocations: 55.92 MB / 0.9893 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/1.919, allocations: 31.1 MB / 1.02 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007508/1.927, allocations: 4.317 MB / 1.024 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2819/2.209, allocations: 10.8 MB / 1.034 GB, free: 73.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/2.209, allocations: 80.25 kB / 1.034 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=398): time 5.64e-06/2.209, allocations: 0 / 1.034 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=423): time 0.03832/2.247, allocations: 21.42 MB / 1.055 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/2.247, allocations: 125.1 kB / 1.056 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/2.253, allocations: 4.615 MB / 1.06 GB, free: 69.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/2.253, allocations: 93.64 kB / 1.06 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/2.255, allocations: 4.658 MB / 1.065 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009845/2.256, allocations: 1.45 MB / 1.066 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/2.257, allocations: 122.9 kB / 1.066 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002452/2.257, allocations: 0.5417 MB / 1.067 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/2.261, allocations: 2.897 MB / 1.07 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/2.265, allocations: 4.931 MB / 1.074 GB, free: 63.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008837/2.274, allocations: 8.329 MB / 1.082 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.234e-05/2.274, allocations: 20.62 kB / 1.083 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01415/2.288, allocations: 9.704 MB / 1.092 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/2.288, allocations: 35.52 kB / 1.092 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/2.288, allocations: 65.97 kB / 1.092 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/2.293, allocations: 1.656 MB / 1.094 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/2.297, allocations: 1.315 MB / 1.095 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/2.316, allocations: 16.46 MB / 1.111 GB, free: 55.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/2.321, allocations: 335.3 kB / 1.111 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/2.322, allocations: 282.6 kB / 1.112 GB, free: 55.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * 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,(8,56.2%) 27,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007907/2.33, allocations: 3.884 MB / 1.115 GB, free: 54.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/2.332, allocations: 500 kB / 1.116 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/2.345, allocations: 7.772 MB / 1.124 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/2.345, allocations: 43.06 kB / 1.124 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-05/2.345, allocations: 20.53 kB / 1.124 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/2.345, allocations: 19.36 kB / 1.124 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/2.379, allocations: 17.46 MB / 1.141 GB, free: 43.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/2.379, allocations: 3.656 kB / 1.141 GB, free: 43.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/2.382, allocations: 0.7249 MB / 1.141 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00412/2.386, allocations: 1.566 MB / 1.143 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007116/2.387, allocations: 107.9 kB / 1.143 GB, free: 43.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/2.407, allocations: 19.5 MB / 1.162 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.407, allocations: 15.19 kB / 1.162 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/2.425, allocations: 11.4 MB / 1.173 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/2.428, allocations: 1.16 MB / 1.174 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/2.429, allocations: 88 kB / 1.174 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/2.432, allocations: 246.2 kB / 1.175 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000817/2.433, allocations: 331.9 kB / 1.175 GB, free: 21.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003815/2.434, allocations: 134.4 kB / 1.175 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00571/2.439, allocations: 3.106 MB / 1.178 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/2.439, allocations: 0 / 1.178 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008267/2.448, allocations: 1.908 MB / 1.18 GB, free: 17.22 MB / 0.4948 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.stray.Phi.re,imc.stator.stray.Phi.im,imc.stator.zeroInductor.i0,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 (364): * Single equations (assignments): 357 * 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,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/2.449, allocations: 0.5422 MB / 1.18 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01285/2.462, allocations: 8.071 MB / 1.188 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.462, allocations: 4 kB / 1.188 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007066/2.469, allocations: 4.658 MB / 1.193 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/2.48, allocations: 1.236 MB / 1.194 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2889/2.768, allocations: 22.97 MB / 1.217 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009002/2.777, allocations: 6.78 MB / 1.223 GB, free: 72.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005978/2.783, allocations: 1.858 MB / 1.225 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/2.785, allocations: 371 kB / 1.225 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/2.785, allocations: 3.781 kB / 1.225 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.1383/2.923, allocations: 82.8 MB / 1.306 GB, free: 68.8 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_functions.h:1129: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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.o] Error 1