Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008112/0.0008114, allocations: 102.7 kB / 297.5 MB, free: 6.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.0002411, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.5933, allocations: 164 MB / 0.56 GB, free: 33.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5936, allocations: 104.3 kB / 0.5601 GB, free: 33.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.862/2.456, allocations: 0.5958 GB / 1.156 GB, free: 23.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/2.456, allocations: 3.156 kB / 1.156 GB, free: 23.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.002252/2.458, allocations: 421.3 kB / 1.156 GB, free: 23.34 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06906/2.527, allocations: 17.85 MB / 1.174 GB, free: 17.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/2.527, allocations: 15.72 kB / 1.174 GB, free: 17.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06616/2.594, allocations: 7.902 MB / 1.181 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05191/2.646, allocations: 14.33 MB / 1.195 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002415/2.648, allocations: 1.321 MB / 1.197 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01029/2.658, allocations: 1.723 MB / 1.198 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7645/3.423, allocations: 29.41 MB / 1.227 GB, free: 34.64 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008531/3.424, allocations: 23.31 kB / 1.227 GB, free: 34.64 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005802/3.43, allocations: 0.7431 MB / 1.228 GB, free: 34.64 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001358/3.431, allocations: 1.268 MB / 1.229 GB, free: 34.59 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05369/3.485, allocations: 25.43 MB / 1.254 GB, free: 34.42 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1653/3.65, allocations: 95.02 MB / 1.347 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04619/3.696, allocations: 52.4 MB / 1.398 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01302/3.709, allocations: 7.221 MB / 1.405 GB, free: 11.73 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03666/3.746, allocations: 16.74 MB / 1.421 GB, free: 3.84 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/3.746, allocations: 115.3 kB / 1.421 GB, free: 3.746 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=689): time 9.207e-06/3.746, allocations: 0 / 1.421 GB, free: 3.746 MB / 0.5574 GB Notification: Performance of matching and sorting (n=697): time 0.5062/4.252, allocations: 39.95 MB / 1.46 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/4.252, allocations: 156.8 kB / 1.461 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/4.263, allocations: 6.966 MB / 1.467 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/4.264, allocations: 140.7 kB / 1.467 GB, free: 100 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004288/4.268, allocations: 7.728 MB / 1.475 GB, free: 96.04 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002934/4.271, allocations: 2.356 MB / 1.477 GB, free: 94.56 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007056/4.272, allocations: 186.4 kB / 1.478 GB, free: 94.56 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0004897/4.272, allocations: 0.6874 MB / 1.478 GB, free: 94.23 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006854/4.279, allocations: 4.856 MB / 1.483 GB, free: 94.21 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009305/4.289, allocations: 8.144 MB / 1.491 GB, free: 90.23 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01773/4.306, allocations: 13.79 MB / 1.504 GB, free: 86.01 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001953/4.307, allocations: 32.02 kB / 1.504 GB, free: 86.01 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.0335/4.34, allocations: 15.9 MB / 1.52 GB, free: 84.92 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/4.34, allocations: 48.94 kB / 1.52 GB, free: 84.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002432/4.341, allocations: 105 kB / 1.52 GB, free: 84.92 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/4.347, allocations: 2.447 MB / 1.522 GB, free: 84.82 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008204/4.355, allocations: 2.042 MB / 1.524 GB, free: 84.82 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/4.386, allocations: 28.23 MB / 1.552 GB, free: 68.85 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008584/4.395, allocations: 0.5333 MB / 1.553 GB, free: 68.68 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/4.397, allocations: 444.2 kB / 1.553 GB, free: 68.61 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1066): * Single equations (assignments): 1053 * 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: 8 * 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: 8 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(18,41.0%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01719/4.414, allocations: 6.738 MB / 1.56 GB, free: 65.49 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003474/4.418, allocations: 0.7676 MB / 1.56 GB, free: 65.08 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03234/4.45, allocations: 13.15 MB / 1.573 GB, free: 59.52 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01486/4.465, allocations: 8.268 MB / 1.581 GB, free: 55.87 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/4.465, allocations: 27.94 kB / 1.581 GB, free: 55.84 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001403/4.465, allocations: 35.34 kB / 1.581 GB, free: 55.84 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06992/4.535, allocations: 28.28 MB / 1.609 GB, free: 32.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/4.535, allocations: 4 kB / 1.609 GB, free: 32.68 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005506/4.541, allocations: 1.104 MB / 1.61 GB, free: 31.82 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007233/4.548, allocations: 2.544 MB / 1.612 GB, free: 29.88 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001813/4.55, allocations: 154.5 kB / 1.613 GB, free: 29.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4219/4.972, allocations: 32.73 MB / 1.645 GB, free: 88.18 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/4.972, allocations: 5.812 kB / 1.645 GB, free: 88.18 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03313/5.005, allocations: 18.92 MB / 1.663 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007422/5.012, allocations: 1.772 MB / 1.665 GB, free: 86.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002701/5.015, allocations: 133.5 kB / 1.665 GB, free: 86.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005651/5.021, allocations: 424.7 kB / 1.665 GB, free: 86.82 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/5.023, allocations: 0.534 MB / 1.666 GB, free: 86.81 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005466/5.023, allocations: 195.8 kB / 1.666 GB, free: 86.81 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.009896/5.033, allocations: 4.684 MB / 1.671 GB, free: 86.59 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.71e-07/5.033, allocations: 3.031 kB / 1.671 GB, free: 86.59 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01592/5.049, allocations: 3.102 MB / 1.674 GB, free: 86.59 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (569): * Single equations (assignments): 554 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(18,38.0%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/5.052, allocations: 0.7128 MB / 1.674 GB, free: 86.47 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02278/5.075, allocations: 13.35 MB / 1.687 GB, free: 85.12 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/5.075, allocations: 3.406 kB / 1.687 GB, free: 85.12 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/5.088, allocations: 7.652 MB / 1.695 GB, free: 83.7 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01872/5.107, allocations: 2.048 MB / 1.697 GB, free: 83.67 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08706/5.194, allocations: 38.58 MB / 1.734 GB, free: 68.38 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.024/5.218, allocations: 11.37 MB / 1.746 GB, free: 65.19 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01294/5.231, allocations: 3.285 MB / 1.749 GB, free: 64.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/5.234, allocations: 0.5515 MB / 1.749 GB, free: 64.87 MB / 0.5574 GB Notification: Performance of SimCode: time 1.052e-06/5.234, allocations: 0 / 1.749 GB, free: 64.87 MB / 0.5574 GB Notification: Performance of Templates: time 0.5887/5.823, allocations: 132.6 MB / 1.879 GB, free: 71.75 MB / 0.5574 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_model.h:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.h:1288: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); ^ ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.h:1297: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); ^ 2 errors generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.o] Error 1