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.IMS_Start.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009406/0.0009409, allocations: 176.4 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.275/1.275, allocations: 223.3 MB / 241.4 MB, free: 9.867 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.000867/0.000867, allocations: 97.52 kB / 292.6 MB, free: 10.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 12 kB / 352.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 50.41 MB / 402.8 MB, free: 32.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.6614, allocations: 163.2 MB / 0.5527 GB, free: 41.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6617, allocations: 110.2 kB / 0.5528 GB, free: 41.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.846/2.508, allocations: 0.569 GB / 1.122 GB, free: 28.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.946e-06/2.508, allocations: 3.375 kB / 1.122 GB, free: 28.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001971/2.51, allocations: 419.3 kB / 1.122 GB, free: 28.88 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.07098/2.581, allocations: 17.78 MB / 1.14 GB, free: 23.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/2.581, allocations: 8.656 kB / 1.14 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04328/2.624, allocations: 7.87 MB / 1.147 GB, free: 22.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04172/2.666, allocations: 14.29 MB / 1.161 GB, free: 16.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002184/2.668, allocations: 1.326 MB / 1.162 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009304/2.677, allocations: 1.725 MB / 1.164 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09234/2.77, allocations: 29.76 MB / 1.193 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009204/2.771, allocations: 27.23 kB / 1.193 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007252/2.778, allocations: 0.7421 MB / 1.194 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/2.78, allocations: 1.27 MB / 1.195 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4428/3.223, allocations: 25.42 MB / 1.22 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1688/3.392, allocations: 94.14 MB / 1.312 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04029/3.432, allocations: 51.79 MB / 1.363 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/3.445, allocations: 7.17 MB / 1.37 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03842/3.483, allocations: 16.51 MB / 1.386 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.529e-05/3.483, allocations: 106.6 kB / 1.386 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=689): time 8.035e-06/3.483, allocations: 2.25 kB / 1.386 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of matching and sorting (n=697): time 0.4285/3.912, allocations: 39.2 MB / 1.424 GB, free: 93.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/3.912, allocations: 148.7 kB / 1.424 GB, free: 93.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/3.924, allocations: 6.945 MB / 1.431 GB, free: 92.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/3.926, allocations: 138.3 kB / 1.431 GB, free: 92.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00466/3.931, allocations: 7.719 MB / 1.439 GB, free: 88.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003162/3.934, allocations: 2.357 MB / 1.441 GB, free: 87.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/3.935, allocations: 193.8 kB / 1.441 GB, free: 87.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009461/3.936, allocations: 0.6839 MB / 1.442 GB, free: 86.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008994/3.945, allocations: 4.852 MB / 1.447 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/3.957, allocations: 8.14 MB / 1.455 GB, free: 82.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02163/3.978, allocations: 13.79 MB / 1.468 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003602/3.979, allocations: 27.22 kB / 1.468 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.04027/4.019, allocations: 15.89 MB / 1.484 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/4.02, allocations: 51.19 kB / 1.484 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004335/4.02, allocations: 105.9 kB / 1.484 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007149/4.027, allocations: 2.446 MB / 1.486 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009207/4.036, allocations: 2.037 MB / 1.488 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03371/4.07, allocations: 28.22 MB / 1.516 GB, free: 61.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009912/4.08, allocations: 0.533 MB / 1.516 GB, free: 61.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/4.083, allocations: 450 kB / 1.517 GB, free: 61.3 MB / 0.5417 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.01905/4.102, allocations: 6.741 MB / 1.523 GB, free: 58.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00372/4.106, allocations: 0.7619 MB / 1.524 GB, free: 57.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/4.136, allocations: 13.13 MB / 1.537 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01641/4.153, allocations: 8.266 MB / 1.545 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001491/4.153, allocations: 29.88 kB / 1.545 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002055/4.153, allocations: 38.17 kB / 1.545 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07459/4.228, allocations: 28.27 MB / 1.572 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.484e-05/4.228, allocations: 4 kB / 1.572 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005798/4.234, allocations: 1.111 MB / 1.574 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007024/4.241, allocations: 2.545 MB / 1.576 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001911/4.243, allocations: 160.8 kB / 1.576 GB, free: 23.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4174/4.66, allocations: 32.67 MB / 1.608 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/4.66, allocations: 12.45 kB / 1.608 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/4.69, allocations: 18.92 MB / 1.627 GB, free: 80.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005691/4.695, allocations: 1.776 MB / 1.628 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002443/4.698, allocations: 128.7 kB / 1.628 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005136/4.703, allocations: 420.8 kB / 1.629 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/4.705, allocations: 0.5361 MB / 1.629 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005339/4.705, allocations: 199.3 kB / 1.63 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009283/4.714, allocations: 4.668 MB / 1.634 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.262e-06/4.714, allocations: 2.406 kB / 1.634 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01549/4.73, allocations: 3.096 MB / 1.637 GB, free: 80.24 MB / 0.5417 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%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(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.002235/4.732, allocations: 0.7099 MB / 1.638 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02207/4.754, allocations: 13.37 MB / 1.651 GB, free: 78.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/4.754, allocations: 3.188 kB / 1.651 GB, free: 78.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/4.768, allocations: 7.625 MB / 1.658 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01979/4.788, allocations: 2.038 MB / 1.66 GB, free: 77.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07987/4.867, allocations: 38.49 MB / 1.698 GB, free: 61.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02623/4.894, allocations: 11.36 MB / 1.709 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01579/4.91, allocations: 3.278 MB / 1.712 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003598/4.913, allocations: 0.5518 MB / 1.713 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/4.913, allocations: 0 / 1.713 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.5755/5.489, allocations: 132.2 MB / 1.842 GB, free: 60.38 MB / 0.5417 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.h:1286: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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.h:1295: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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.o] Error 1