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.0009686/0.0009686, 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.296/1.296, 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.0008062/0.0008063, allocations: 98.84 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 8 kB / 359.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3113, allocations: 51.28 MB / 410.8 MB, free: 27.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.8231, allocations: 168.5 MB / 0.5657 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.8234, allocations: 113.1 kB / 0.5658 GB, free: 28.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035/3.858, allocations: 0.8992 GB / 1.465 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/3.858, allocations: 0 / 1.465 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.002046/3.86, allocations: 478.5 kB / 1.465 GB, free: 33.43 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.07366/3.934, allocations: 20.5 MB / 1.485 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/3.934, allocations: 11.47 kB / 1.485 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05241/3.986, allocations: 9.758 MB / 1.495 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04356/4.03, allocations: 15.77 MB / 1.51 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002092/4.032, allocations: 1.511 MB / 1.512 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009916/4.042, allocations: 1.996 MB / 1.514 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09395/4.136, allocations: 34.39 MB / 1.547 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001132/4.137, allocations: 36.02 kB / 1.547 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007936/4.145, allocations: 0.8585 MB / 1.548 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/4.147, allocations: 1.485 MB / 1.55 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07183/4.219, allocations: 30.14 MB / 1.579 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5784/4.797, allocations: 109 MB / 1.686 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04348/4.841, allocations: 50.69 MB / 1.735 GB, free: 23.11 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01545/4.856, allocations: 9.749 MB / 1.745 GB, free: 22.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04326/4.899, allocations: 22.89 MB / 1.767 GB, free: 20.96 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.641e-05/4.9, allocations: 125.8 kB / 1.767 GB, free: 20.85 MB / 0.573 GB Notification: Performance of pre-optimization done (n=894): time 1.04e-05/4.9, allocations: 0 / 1.767 GB, free: 20.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=906): time 0.07998/4.98, allocations: 39.47 MB / 1.806 GB, free: 2.129 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/4.98, allocations: 174.1 kB / 1.806 GB, free: 2.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02247/5.002, allocations: 8.383 MB / 1.814 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001906/5.004, allocations: 174.2 kB / 1.814 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.007507/5.012, allocations: 8.667 MB / 1.823 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004723/5.016, allocations: 3.049 MB / 1.826 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002223/5.019, allocations: 228 kB / 1.826 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001379/5.02, allocations: 0.7762 MB / 1.827 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01882/5.039, allocations: 6.667 MB / 1.833 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4444/5.483, allocations: 9.813 MB / 1.843 GB, free: 89.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0277/5.511, allocations: 17.01 MB / 1.859 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002574/5.511, allocations: 33.34 kB / 1.859 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 0.04258/5.554, allocations: 20.07 MB / 1.879 GB, free: 84.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/5.554, allocations: 58.5 kB / 1.879 GB, free: 84.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003004/5.555, allocations: 114.3 kB / 1.879 GB, free: 84.9 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/5.557, allocations: 0.8064 MB / 1.88 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/5.568, allocations: 2.375 MB / 1.882 GB, free: 84.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/5.579, allocations: 11.5 MB / 1.893 GB, free: 78.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/5.591, allocations: 0.6043 MB / 1.894 GB, free: 78.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003811/5.595, allocations: 0.511 MB / 1.895 GB, free: 78.34 MB / 0.5886 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.0223/5.617, allocations: 7.91 MB / 1.902 GB, free: 78.22 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004227/5.622, allocations: 0.9039 MB / 1.903 GB, free: 78.22 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04403/5.666, allocations: 16.95 MB / 1.92 GB, free: 77.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/5.666, allocations: 93.64 kB / 1.92 GB, free: 77.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001927/5.666, allocations: 45.28 kB / 1.92 GB, free: 77.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003027/5.666, allocations: 51.38 kB / 1.92 GB, free: 77.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08793/5.754, allocations: 35.87 MB / 1.955 GB, free: 68.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/5.754, allocations: 7.062 kB / 1.955 GB, free: 68.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007034/5.761, allocations: 1.414 MB / 1.956 GB, free: 68.67 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/5.764, allocations: 0.8616 MB / 1.957 GB, free: 68.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002198/5.766, allocations: 202 kB / 1.957 GB, free: 68.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/5.78, allocations: 15.73 MB / 1.973 GB, free: 55.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/5.78, allocations: 18.94 kB / 1.973 GB, free: 55.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05052/5.83, allocations: 24.65 MB / 1.997 GB, free: 43.47 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008157/5.838, allocations: 2.261 MB / 1.999 GB, free: 41.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00479/5.843, allocations: 175.8 kB / 1.999 GB, free: 41.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0086/5.852, allocations: 0.5022 MB / 2 GB, free: 40.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003304/5.855, allocations: 0.8034 MB / 2 GB, free: 40.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002039/5.857, allocations: 251.4 kB / 2.001 GB, free: 40.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01262/5.87, allocations: 5.638 MB / 2.006 GB, free: 35.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/5.87, allocations: 0 / 2.006 GB, free: 35.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01935/5.889, allocations: 3.519 MB / 2.01 GB, free: 32.04 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 (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,(1,100.0%) 8,(2,100.0%) 26,(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.003219/5.893, allocations: 0.7739 MB / 2.01 GB, free: 31.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02834/5.921, allocations: 15.95 MB / 2.026 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/5.921, allocations: 8.062 kB / 2.026 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0156/5.937, allocations: 8.731 MB / 2.034 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02832/5.965, allocations: 2.455 MB / 2.037 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5361/6.501, allocations: 46.74 MB / 2.083 GB, free: 66.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02833/6.529, allocations: 13.12 MB / 2.095 GB, free: 64.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01685/6.546, allocations: 3.959 MB / 2.099 GB, free: 64.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004096/6.55, allocations: 0.6568 MB / 2.1 GB, free: 64.58 MB / 0.5886 GB Notification: Performance of SimCode: time 3.717e-06/6.551, allocations: 0 / 2.1 GB, free: 64.58 MB / 0.5886 GB Notification: Performance of Templates: time 0.2849/6.835, allocations: 153.3 MB / 2.25 GB, free: 15.25 MB / 0.6042 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 -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_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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_functions.h:1287: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