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.001014/0.001014, allocations: 198.9 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.242/1.242, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008545/0.0008546, allocations: 101.5 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002433, allocations: 7.984 kB / 358 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2118, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.5853, allocations: 163.7 MB / 0.5597 GB, free: 32.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5856, allocations: 106.9 kB / 0.5598 GB, free: 32.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839/2.424, allocations: 0.5997 GB / 1.16 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/2.424, allocations: 3.938 kB / 1.16 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00171/2.426, allocations: 425.3 kB / 1.16 GB, free: 31.36 MB / 0.4948 GB 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.06233/2.488, allocations: 18.03 MB / 1.178 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/2.489, allocations: 8.938 kB / 1.178 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04283/2.531, allocations: 7.905 MB / 1.185 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03839/2.57, allocations: 14.91 MB / 1.2 GB, free: 20.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/2.571, allocations: 1.308 MB / 1.201 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007061/2.578, allocations: 1.729 MB / 1.203 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4324/3.011, allocations: 29.59 MB / 1.232 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009317/3.012, allocations: 21.38 kB / 1.232 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006576/3.018, allocations: 0.7471 MB / 1.232 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001555/3.02, allocations: 1.267 MB / 1.234 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05933/3.079, allocations: 25.42 MB / 1.258 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1724/3.252, allocations: 94.97 MB / 1.351 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04566/3.297, allocations: 52.42 MB / 1.402 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0332/3.331, allocations: 16.87 MB / 1.419 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/3.331, allocations: 109.3 kB / 1.419 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=703): time 1.32e-05/3.331, allocations: 0 / 1.419 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of matching and sorting (n=711): time 0.4152/3.746, allocations: 39.34 MB / 1.457 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/3.746, allocations: 157 kB / 1.458 GB, free: 95.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/3.758, allocations: 6.181 MB / 1.464 GB, free: 94.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001423/3.76, allocations: 141.9 kB / 1.464 GB, free: 94.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004028/3.764, allocations: 7.712 MB / 1.471 GB, free: 90.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/3.767, allocations: 2.393 MB / 1.474 GB, free: 89.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007302/3.768, allocations: 194.2 kB / 1.474 GB, free: 89.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004801/3.768, allocations: 0.6981 MB / 1.474 GB, free: 89.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006864/3.775, allocations: 4.905 MB / 1.479 GB, free: 89.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008788/3.784, allocations: 8.152 MB / 1.487 GB, free: 85.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009459/3.793, allocations: 6.569 MB / 1.494 GB, free: 84.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/3.793, allocations: 30.69 kB / 1.494 GB, free: 84.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02889/3.822, allocations: 16.01 MB / 1.509 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/3.822, allocations: 50.09 kB / 1.509 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/3.823, allocations: 104.5 kB / 1.509 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/3.829, allocations: 2.457 MB / 1.512 GB, free: 83.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009003/3.838, allocations: 2.068 MB / 1.514 GB, free: 83.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03194/3.87, allocations: 28.99 MB / 1.542 GB, free: 67.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009958/3.88, allocations: 0.5449 MB / 1.543 GB, free: 67.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002891/3.883, allocations: 445 kB / 1.543 GB, free: 67.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 (1076): * Single equations (assignments): 1063 * 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,38.0%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01634/3.9, allocations: 6.748 MB / 1.55 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002608/3.902, allocations: 0.7722 MB / 1.55 GB, free: 63.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/3.926, allocations: 13.31 MB / 1.563 GB, free: 58.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0126/3.938, allocations: 8.321 MB / 1.572 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001099/3.939, allocations: 27.62 kB / 1.572 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/3.939, allocations: 39.44 kB / 1.572 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06474/4.003, allocations: 28.56 MB / 1.6 GB, free: 29.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/4.003, allocations: 8.031 kB / 1.6 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005284/4.009, allocations: 1.138 MB / 1.601 GB, free: 28.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006196/4.015, allocations: 2.508 MB / 1.603 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001329/4.016, allocations: 157.6 kB / 1.603 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3762/4.393, allocations: 33.54 MB / 1.636 GB, free: 82.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/4.393, allocations: 6.094 kB / 1.636 GB, free: 82.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/4.421, allocations: 19.73 MB / 1.655 GB, free: 80.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006579/4.428, allocations: 1.794 MB / 1.657 GB, free: 80.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002401/4.43, allocations: 126.9 kB / 1.657 GB, free: 80.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005376/4.436, allocations: 431.1 kB / 1.658 GB, free: 80.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/4.437, allocations: 0.5436 MB / 1.658 GB, free: 80.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001014/4.438, allocations: 200.8 kB / 1.658 GB, free: 80.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009482/4.448, allocations: 4.674 MB / 1.663 GB, free: 80.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/4.448, allocations: 0 / 1.663 GB, free: 80.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01406/4.462, allocations: 3.122 MB / 1.666 GB, free: 80.07 MB / 0.5573 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 (583): * Single equations (assignments): 568 * 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.3%) 100,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(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.002594/4.465, allocations: 0.7079 MB / 1.667 GB, free: 79.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02065/4.485, allocations: 13.49 MB / 1.68 GB, free: 78.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/4.485, allocations: 2.969 kB / 1.68 GB, free: 78.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/4.497, allocations: 7.72 MB / 1.687 GB, free: 77.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/4.508, allocations: 1.979 MB / 1.689 GB, free: 77.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07411/4.582, allocations: 39.32 MB / 1.728 GB, free: 61.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01887/4.601, allocations: 11.67 MB / 1.739 GB, free: 58.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01244/4.613, allocations: 3.294 MB / 1.742 GB, free: 58.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002976/4.616, allocations: 0.556 MB / 1.743 GB, free: 58.15 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/4.616, allocations: 0 / 1.743 GB, free: 58.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.5339/5.15, allocations: 131.7 MB / 1.871 GB, free: 68.39 MB / 0.5573 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 -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_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:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.h:1376: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:1385: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