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_Transformer.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008974/0.0008976, allocations: 176.9 kB / 17.4 MB, free: 4.293 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.281/1.281, allocations: 223.3 MB / 241.4 MB, free: 9.945 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.000832/0.000832, allocations: 96.58 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004843, allocations: 8 kB / 353.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2462, allocations: 50.41 MB / 404.1 MB, free: 32.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.6311, allocations: 167.7 MB / 0.5584 GB, free: 38.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.6314, allocations: 102.5 kB / 0.5585 GB, free: 38.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.929/3.561, allocations: 0.8583 GB / 1.417 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.665e-06/3.561, allocations: 0 / 1.417 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001501/3.562, allocations: 475.8 kB / 1.417 GB, free: 32.76 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.08035/3.643, allocations: 20.44 MB / 1.437 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/3.643, allocations: 9.125 kB / 1.437 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05304/3.696, allocations: 9.729 MB / 1.447 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0407/3.736, allocations: 15.73 MB / 1.462 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001932/3.738, allocations: 1.516 MB / 1.464 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0102/3.749, allocations: 2.001 MB / 1.466 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09453/3.843, allocations: 34.39 MB / 1.499 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001088/3.844, allocations: 36.98 kB / 1.499 GB, free: 20.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0111/3.855, allocations: 0.8538 MB / 1.5 GB, free: 20.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/3.859, allocations: 1.483 MB / 1.501 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08414/3.943, allocations: 30.14 MB / 1.531 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6384/4.581, allocations: 107.6 MB / 1.636 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04788/4.629, allocations: 50.7 MB / 1.685 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01643/4.646, allocations: 9.749 MB / 1.695 GB, free: 26.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04811/4.694, allocations: 22.64 MB / 1.717 GB, free: 25.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/4.694, allocations: 128.7 kB / 1.717 GB, free: 25.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=894): time 1.184e-05/4.694, allocations: 0 / 1.717 GB, free: 25.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=906): time 0.07691/4.771, allocations: 39.45 MB / 1.756 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/4.771, allocations: 171.9 kB / 1.756 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0191/4.79, allocations: 8.283 MB / 1.764 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00199/4.792, allocations: 174.9 kB / 1.764 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.005452/4.798, allocations: 8.658 MB / 1.773 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003706/4.802, allocations: 3.047 MB / 1.776 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/4.803, allocations: 229.5 kB / 1.776 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0007499/4.804, allocations: 0.774 MB / 1.777 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009199/4.813, allocations: 6.169 MB / 1.783 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/4.825, allocations: 9.81 MB / 1.792 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/4.852, allocations: 17.27 MB / 1.809 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/4.852, allocations: 31.34 kB / 1.809 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 0.04355/4.896, allocations: 20.07 MB / 1.829 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/4.896, allocations: 56 kB / 1.829 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/4.896, allocations: 112 kB / 1.829 GB, free: 1.207 MB / 0.6042 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/4.898, allocations: 0.8074 MB / 1.83 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/4.917, allocations: 3.022 MB / 1.833 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4356/5.352, allocations: 11.52 MB / 1.844 GB, free: 92.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/5.364, allocations: 0.6015 MB / 1.844 GB, free: 92.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004698/5.369, allocations: 0.5114 MB / 1.845 GB, free: 92.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (1216): * Single equations (assignments): 1209 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02247/5.391, allocations: 7.905 MB / 1.853 GB, free: 92.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004717/5.396, allocations: 0.9084 MB / 1.853 GB, free: 92.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03979/5.436, allocations: 16.95 MB / 1.87 GB, free: 91.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/5.436, allocations: 93.47 kB / 1.87 GB, free: 91.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/5.436, allocations: 45.91 kB / 1.87 GB, free: 91.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002353/5.437, allocations: 45.23 kB / 1.87 GB, free: 91.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0804/5.517, allocations: 35.85 MB / 1.905 GB, free: 90.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.186e-05/5.517, allocations: 9.219 kB / 1.905 GB, free: 90.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006558/5.524, allocations: 1.417 MB / 1.907 GB, free: 90.12 MB / 0.6042 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/5.526, allocations: 0.8575 MB / 1.907 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001855/5.528, allocations: 199.6 kB / 1.908 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/5.541, allocations: 15.73 MB / 1.923 GB, free: 80.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/5.541, allocations: 16.5 kB / 1.923 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0416/5.582, allocations: 24.65 MB / 1.947 GB, free: 76.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007628/5.59, allocations: 2.252 MB / 1.949 GB, free: 76.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00461/5.595, allocations: 179.7 kB / 1.949 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007745/5.602, allocations: 0.503 MB / 1.95 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003774/5.606, allocations: 0.7929 MB / 1.951 GB, free: 75.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001505/5.608, allocations: 258.9 kB / 1.951 GB, free: 75.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01338/5.621, allocations: 5.623 MB / 1.956 GB, free: 73.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/5.621, allocations: 3.609 kB / 1.956 GB, free: 73.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01663/5.638, allocations: 3.506 MB / 1.96 GB, free: 73.39 MB / 0.6042 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 (703): * Single equations (assignments): 695 * 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,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(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.002809/5.641, allocations: 0.7448 MB / 1.961 GB, free: 73.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02516/5.666, allocations: 15.97 MB / 1.976 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/5.666, allocations: 2.906 kB / 1.976 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/5.679, allocations: 8.718 MB / 1.985 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02493/5.704, allocations: 2.449 MB / 1.987 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08988/5.794, allocations: 45.53 MB / 2.032 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5892/6.384, allocations: 14.62 MB / 2.046 GB, free: 88.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02691/6.411, allocations: 3.967 MB / 2.05 GB, free: 87.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005283/6.416, allocations: 0.6568 MB / 2.05 GB, free: 87.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/6.416, allocations: 0 / 2.05 GB, free: 87.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.3399/6.756, allocations: 152.9 MB / 2.2 GB, free: 50.68 MB / 0.6042 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_functions.h:1286: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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.o] Error 1