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.001507/0.001507, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.306/1.306, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0009385/0.0009384, allocations: 94.27 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 4 kB / 352.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 50.41 MB / 402.9 MB, free: 32.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.711, allocations: 167.2 MB / 0.5567 GB, free: 39.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.7114, allocations: 112.2 kB / 0.5568 GB, free: 39.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.29/4.002, allocations: 0.8626 GB / 1.419 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.925e-06/4.002, allocations: 0 / 1.419 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001682/4.004, allocations: 479.6 kB / 1.42 GB, free: 33.57 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.07681/4.08, allocations: 20.65 MB / 1.44 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/4.081, allocations: 10.03 kB / 1.44 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0524/4.133, allocations: 9.729 MB / 1.45 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04555/4.179, allocations: 16.26 MB / 1.465 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002055/4.181, allocations: 1.522 MB / 1.467 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009994/4.191, allocations: 1.994 MB / 1.469 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0945/4.285, allocations: 34.21 MB / 1.502 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001197/4.286, allocations: 37.92 kB / 1.502 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009749/4.296, allocations: 0.8591 MB / 1.503 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/4.299, allocations: 1.485 MB / 1.505 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06934/4.368, allocations: 30.14 MB / 1.534 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6456/5.014, allocations: 107.4 MB / 1.639 GB, free: 21.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04558/5.059, allocations: 50.69 MB / 1.688 GB, free: 19.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05517/5.115, allocations: 21.6 MB / 1.71 GB, free: 17.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/5.115, allocations: 135.3 kB / 1.71 GB, free: 17.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=906): time 1.886e-05/5.115, allocations: 3.75 kB / 1.71 GB, free: 17.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=918): time 0.08982/5.205, allocations: 39.7 MB / 1.748 GB, free: 10.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/5.205, allocations: 174.4 kB / 1.749 GB, free: 10.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01616/5.221, allocations: 7.405 MB / 1.756 GB, free: 9.992 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001925/5.223, allocations: 180.4 kB / 1.756 GB, free: 9.848 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006143/5.229, allocations: 8.646 MB / 1.765 GB, free: 3.387 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004508/5.234, allocations: 3.086 MB / 1.768 GB, free: 1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002419/5.236, allocations: 233.8 kB / 1.768 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001479/5.238, allocations: 0.7743 MB / 1.768 GB, free: 312 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01877/5.256, allocations: 6.739 MB / 1.775 GB, free: 0 / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01768/5.274, allocations: 9.823 MB / 1.785 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/5.29, allocations: 8.269 MB / 1.793 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/5.29, allocations: 31.06 kB / 1.793 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.4527/5.743, allocations: 20.47 MB / 1.813 GB, free: 86.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/5.743, allocations: 55.75 kB / 1.813 GB, free: 86.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/5.743, allocations: 114.9 kB / 1.813 GB, free: 86.38 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.002066/5.746, allocations: 0.8165 MB / 1.814 GB, free: 86.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/5.756, allocations: 2.391 MB / 1.816 GB, free: 86.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/5.767, allocations: 11.68 MB / 1.827 GB, free: 79.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/5.779, allocations: 0.607 MB / 1.828 GB, free: 79.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002969/5.782, allocations: 0.5108 MB / 1.829 GB, free: 79.86 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.0196/5.801, allocations: 7.914 MB / 1.836 GB, free: 79.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003608/5.805, allocations: 0.9101 MB / 1.837 GB, free: 79.74 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03341/5.838, allocations: 17.12 MB / 1.854 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/5.839, allocations: 93.84 kB / 1.854 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001805/5.839, allocations: 42.12 kB / 1.854 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002992/5.839, allocations: 47.92 kB / 1.854 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08935/5.928, allocations: 36.11 MB / 1.889 GB, free: 77.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/5.928, allocations: 11.08 kB / 1.889 GB, free: 77.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006867/5.935, allocations: 1.44 MB / 1.891 GB, free: 77.25 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.002525/5.938, allocations: 0.8548 MB / 1.892 GB, free: 77.19 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001844/5.94, allocations: 205.5 kB / 1.892 GB, free: 77.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/5.955, allocations: 15.96 MB / 1.907 GB, free: 68.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/5.955, allocations: 12.75 kB / 1.907 GB, free: 68.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06811/6.023, allocations: 26.08 MB / 1.933 GB, free: 58.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01073/6.034, allocations: 2.272 MB / 1.935 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005374/6.039, allocations: 185.4 kB / 1.935 GB, free: 57.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01077/6.05, allocations: 0.5059 MB / 1.936 GB, free: 57.21 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00345/6.054, allocations: 0.7967 MB / 1.937 GB, free: 57.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001221/6.055, allocations: 262.8 kB / 1.937 GB, free: 57.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01054/6.065, allocations: 5.617 MB / 1.942 GB, free: 55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/6.065, allocations: 2.625 kB / 1.942 GB, free: 55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01719/6.083, allocations: 3.52 MB / 1.946 GB, free: 54.67 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%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003473/6.086, allocations: 0.745 MB / 1.946 GB, free: 54.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02653/6.113, allocations: 16.12 MB / 1.962 GB, free: 46.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/6.113, allocations: 4 kB / 1.962 GB, free: 46.87 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01493/6.128, allocations: 8.811 MB / 1.971 GB, free: 39.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0139/6.142, allocations: 2.339 MB / 1.973 GB, free: 37.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9031/7.045, allocations: 46.19 MB / 2.018 GB, free: 73.66 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03711/7.082, allocations: 13.46 MB / 2.031 GB, free: 72.49 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01957/7.102, allocations: 3.978 MB / 2.035 GB, free: 72.39 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005878/7.108, allocations: 0.6584 MB / 2.036 GB, free: 72.39 MB / 0.5887 GB Notification: Performance of SimCode: time 1.222e-06/7.108, allocations: 0 / 2.036 GB, free: 72.39 MB / 0.5887 GB Notification: Performance of Templates: time 0.2783/7.386, allocations: 151.9 MB / 2.184 GB, free: 23.73 MB / 0.5887 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 -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_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:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_functions.h:1374: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