Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 204.9 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007469/0.0007469, allocations: 93.83 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002432, allocations: 4 kB / 358.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2156, allocations: 51.29 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.5619, allocations: 148.7 MB / 0.545 GB, free: 41.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.5623, allocations: 107.5 kB / 0.5451 GB, free: 41.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127/1.69, allocations: 362.3 MB / 0.8989 GB, free: 42.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.69, allocations: 3.719 kB / 0.8989 GB, free: 42.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001003/1.691, allocations: 245.9 kB / 0.8991 GB, free: 42.41 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03627/1.727, allocations: 10.82 MB / 0.9097 GB, free: 38.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.727, allocations: 7.656 kB / 0.9097 GB, free: 38.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/1.754, allocations: 4.787 MB / 0.9144 GB, free: 38.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.775, allocations: 8.828 MB / 0.923 GB, free: 37.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00084/1.776, allocations: 0.7743 MB / 0.9237 GB, free: 37.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004235/1.78, allocations: 1.024 MB / 0.9247 GB, free: 37.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04176/1.822, allocations: 17.1 MB / 0.9414 GB, free: 35.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006327/1.823, allocations: 21.91 kB / 0.9415 GB, free: 35.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/1.827, allocations: 444.5 kB / 0.9419 GB, free: 35.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009753/1.828, allocations: 0.7531 MB / 0.9426 GB, free: 35.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/1.86, allocations: 15.33 MB / 0.9576 GB, free: 33.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09496/1.955, allocations: 57.16 MB / 1.013 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.369/2.324, allocations: 31.39 MB / 1.044 GB, free: 37.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/2.335, allocations: 4.345 MB / 1.048 GB, free: 37.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/2.364, allocations: 10.78 MB / 1.059 GB, free: 36.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.011e-05/2.364, allocations: 85.53 kB / 1.059 GB, free: 36.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 1.121e-05/2.364, allocations: 0 / 1.059 GB, free: 36.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.06904/2.433, allocations: 21.38 MB / 1.08 GB, free: 32.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/2.433, allocations: 123.5 kB / 1.08 GB, free: 32.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/2.443, allocations: 4.62 MB / 1.084 GB, free: 31.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008947/2.444, allocations: 94.45 kB / 1.085 GB, free: 31.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00364/2.448, allocations: 4.666 MB / 1.089 GB, free: 29.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001994/2.45, allocations: 1.447 MB / 1.09 GB, free: 28.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/2.45, allocations: 121.5 kB / 1.091 GB, free: 28.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/2.451, allocations: 0.5418 MB / 1.091 GB, free: 28.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006686/2.458, allocations: 2.897 MB / 1.094 GB, free: 28.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007964/2.466, allocations: 4.938 MB / 1.099 GB, free: 25.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/2.481, allocations: 8.327 MB / 1.107 GB, free: 23.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/2.481, allocations: 18.34 kB / 1.107 GB, free: 23.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02668/2.508, allocations: 9.707 MB / 1.116 GB, free: 22.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.454e-05/2.508, allocations: 37.59 kB / 1.116 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/2.508, allocations: 64.91 kB / 1.117 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/2.515, allocations: 1.652 MB / 1.118 GB, free: 22.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008303/2.523, allocations: 1.32 MB / 1.119 GB, free: 22.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/2.555, allocations: 16.48 MB / 1.135 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008318/2.564, allocations: 338.2 kB / 1.136 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/2.565, allocations: 282.8 kB / 1.136 GB, free: 12.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,67.3%) 28,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0129/2.578, allocations: 3.894 MB / 1.14 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.58, allocations: 0.4913 MB / 1.14 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/2.601, allocations: 7.776 MB / 1.148 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.023e-05/2.601, allocations: 42.69 kB / 1.148 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-05/2.601, allocations: 17.16 kB / 1.148 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.099e-05/2.601, allocations: 19.41 kB / 1.148 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0469/2.648, allocations: 17.47 MB / 1.165 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/2.648, allocations: 6.75 kB / 1.165 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005751/2.654, allocations: 0.7219 MB / 1.166 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007088/2.661, allocations: 1.564 MB / 1.167 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/2.662, allocations: 105.4 kB / 1.167 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03524/2.698, allocations: 19.51 MB / 1.186 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/2.698, allocations: 14.75 kB / 1.187 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0323/2.73, allocations: 11.42 MB / 1.198 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004992/2.735, allocations: 1.156 MB / 1.199 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/2.737, allocations: 95.7 kB / 1.199 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/2.742, allocations: 249.5 kB / 1.199 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.743, allocations: 331.2 kB / 1.199 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005022/2.744, allocations: 130.3 kB / 1.2 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008971/2.753, allocations: 3.122 MB / 1.203 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.92e-07/2.753, allocations: 0 / 1.203 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01343/2.766, allocations: 1.925 MB / 1.204 GB, free: 304 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002062/2.769, allocations: 0.5561 MB / 1.205 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02315/2.792, allocations: 8.074 MB / 1.213 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/2.792, allocations: 4 kB / 1.213 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01315/2.805, allocations: 4.646 MB / 1.217 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01599/2.821, allocations: 1.241 MB / 1.219 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3099/3.131, allocations: 23.04 MB / 1.241 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008405/3.139, allocations: 6.786 MB / 1.248 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00615/3.145, allocations: 1.859 MB / 1.25 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/3.147, allocations: 372.7 kB / 1.25 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.81e-07/3.147, allocations: 0 / 1.25 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.1356/3.282, allocations: 83.13 MB / 1.331 GB, free: 80.46 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -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_Initialize.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_model.h:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_functions.h:1130: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); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.o] Error 1