Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 203 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.227/1.227, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008904/0.0008901, allocations: 96.09 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002468, allocations: 8 kB / 359.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 51.48 MB / 410.8 MB, free: 26.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.5543, allocations: 168.2 MB / 0.5654 GB, free: 27.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5546, allocations: 106.4 kB / 0.5655 GB, free: 27.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.017/3.571, allocations: 0.9038 GB / 1.469 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/3.571, allocations: 4 kB / 1.469 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001733/3.573, allocations: 477 kB / 1.47 GB, free: 32.61 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07106/3.644, allocations: 20.71 MB / 1.49 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/3.644, allocations: 10.22 kB / 1.49 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05356/3.698, allocations: 9.769 MB / 1.5 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04086/3.739, allocations: 16.28 MB / 1.515 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001998/3.741, allocations: 1.512 MB / 1.517 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009977/3.751, allocations: 1.994 MB / 1.519 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08669/3.837, allocations: 34.22 MB / 1.552 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001102/3.838, allocations: 25.89 kB / 1.552 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007634/3.846, allocations: 0.8568 MB / 1.553 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/3.848, allocations: 1.485 MB / 1.555 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06283/3.911, allocations: 30.14 MB / 1.584 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6168/4.528, allocations: 108.9 MB / 1.69 GB, free: 21.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04601/4.574, allocations: 50.69 MB / 1.74 GB, free: 19.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05299/4.627, allocations: 21.85 MB / 1.761 GB, free: 17.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/4.627, allocations: 128.7 kB / 1.761 GB, free: 17.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=906): time 1.895e-05/4.627, allocations: 0 / 1.761 GB, free: 17.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=918): time 0.08425/4.711, allocations: 39.72 MB / 1.8 GB, free: 136 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/4.711, allocations: 168.8 kB / 1.8 GB, free: 28 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0158/4.727, allocations: 7.415 MB / 1.808 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001743/4.729, allocations: 178.7 kB / 1.808 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.007059/4.736, allocations: 8.646 MB / 1.816 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004354/4.74, allocations: 3.092 MB / 1.819 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/4.742, allocations: 232.3 kB / 1.819 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001187/4.744, allocations: 0.7727 MB / 1.82 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/4.755, allocations: 6.233 MB / 1.826 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4369/5.192, allocations: 11.23 MB / 1.837 GB, free: 89.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/5.206, allocations: 8.272 MB / 1.845 GB, free: 89.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003182/5.207, allocations: 32.5 kB / 1.845 GB, free: 89.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.04249/5.249, allocations: 20.2 MB / 1.865 GB, free: 89.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002858/5.25, allocations: 57.33 kB / 1.865 GB, free: 89.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/5.25, allocations: 110.3 kB / 1.865 GB, free: 89.18 MB / 0.5886 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/5.252, allocations: 0.8201 MB / 1.866 GB, free: 89.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00976/5.262, allocations: 2.387 MB / 1.868 GB, free: 89.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/5.272, allocations: 11.69 MB / 1.88 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/5.282, allocations: 0.6097 MB / 1.88 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/5.285, allocations: 0.5064 MB / 1.881 GB, free: 82.61 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1226): * Single equations (assignments): 1219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02194/5.307, allocations: 7.917 MB / 1.889 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004812/5.312, allocations: 0.9135 MB / 1.889 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03576/5.347, allocations: 17.13 MB / 1.906 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.846e-05/5.348, allocations: 92.66 kB / 1.906 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001564/5.348, allocations: 41.75 kB / 1.906 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002063/5.348, allocations: 46.12 kB / 1.906 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07976/5.428, allocations: 36.12 MB / 1.942 GB, free: 77.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-05/5.428, allocations: 7.938 kB / 1.942 GB, free: 77.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006429/5.434, allocations: 1.443 MB / 1.943 GB, free: 77.58 MB / 0.5886 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/5.437, allocations: 0.8484 MB / 1.944 GB, free: 77.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001699/5.438, allocations: 205.8 kB / 1.944 GB, free: 77.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/5.451, allocations: 15.98 MB / 1.96 GB, free: 64.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/5.451, allocations: 14.56 kB / 1.96 GB, free: 64.63 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04374/5.495, allocations: 26.09 MB / 1.985 GB, free: 52.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008384/5.503, allocations: 2.275 MB / 1.987 GB, free: 51.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003895/5.507, allocations: 179.9 kB / 1.988 GB, free: 51.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008043/5.515, allocations: 0.5034 MB / 1.988 GB, free: 51.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002771/5.518, allocations: 0.802 MB / 1.989 GB, free: 51.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001809/5.52, allocations: 261.2 kB / 1.989 GB, free: 51.24 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01224/5.532, allocations: 5.632 MB / 1.995 GB, free: 47.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.21e-07/5.532, allocations: 0 / 1.995 GB, free: 47.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01813/5.55, allocations: 3.538 MB / 1.998 GB, free: 43.63 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (715): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00279/5.553, allocations: 0.7542 MB / 1.999 GB, free: 43.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02685/5.58, allocations: 16.12 MB / 2.014 GB, free: 29.37 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/5.58, allocations: 6 kB / 2.015 GB, free: 29.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01501/5.595, allocations: 8.794 MB / 2.023 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01574/5.611, allocations: 2.351 MB / 2.025 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4823/6.093, allocations: 46.37 MB / 2.071 GB, free: 66.71 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0254/6.118, allocations: 13.46 MB / 2.084 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01791/6.136, allocations: 3.977 MB / 2.088 GB, free: 65.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004333/6.141, allocations: 0.6609 MB / 2.088 GB, free: 65.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/6.141, allocations: 0 / 2.088 GB, free: 65.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.2543/6.395, allocations: 152.3 MB / 2.237 GB, free: 4.137 MB / 0.5886 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -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_Transformer.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_functions.h:1375:1: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24i' _omcQComplexOutput_24iSensorQS_24currentSensor_24i omc__omcQComplexOutput_24iSensorQS_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_Transformer.o] Error 1