Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,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|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,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|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 202.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.5 MB / 245.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006777/0.000678, allocations: 99.31 kB / 297.4 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000204/0.000204, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1944, allocations: 51.28 MB / 408.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3326/0.5271, allocations: 154.5 MB / 0.55 GB, free: 40.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5274, allocations: 104.1 kB / 0.5501 GB, free: 40.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106/1.633, allocations: 369.8 MB / 0.9112 GB, free: 44.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.606e-06/1.633, allocations: 0 / 0.9112 GB, free: 44.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001344/1.635, allocations: 253.2 kB / 0.9115 GB, free: 44.14 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.03757/1.672, allocations: 11.02 MB / 0.9222 GB, free: 40.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.672, allocations: 8.438 kB / 0.9222 GB, free: 40.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/1.698, allocations: 4.798 MB / 0.9269 GB, free: 39.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/1.718, allocations: 8.934 MB / 0.9356 GB, free: 38.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009345/1.719, allocations: 0.788 MB / 0.9364 GB, free: 38.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004307/1.723, allocations: 1.05 MB / 0.9374 GB, free: 38.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04354/1.767, allocations: 17.27 MB / 0.9543 GB, free: 37.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006507/1.768, allocations: 31.7 kB / 0.9543 GB, free: 37.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003892/1.772, allocations: 457.9 kB / 0.9548 GB, free: 37.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009096/1.773, allocations: 0.7626 MB / 0.9555 GB, free: 37.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03429/1.807, allocations: 15.43 MB / 0.9706 GB, free: 31.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.918, allocations: 56.09 MB / 1.025 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3136/2.231, allocations: 33.67 MB / 1.058 GB, free: 27.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007796/2.239, allocations: 4.446 MB / 1.063 GB, free: 27.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02225/2.261, allocations: 12.53 MB / 1.075 GB, free: 26.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004088/2.265, allocations: 3.089 MB / 1.078 GB, free: 26.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 5.66e-06/2.265, allocations: 0 / 1.078 GB, free: 26.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.04691/2.312, allocations: 23.33 MB / 1.101 GB, free: 23.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/2.312, allocations: 412.4 kB / 1.101 GB, free: 23.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008294/2.321, allocations: 4.523 MB / 1.105 GB, free: 39.02 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009646/2.322, allocations: 101.2 kB / 1.106 GB, free: 38.98 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004267/2.326, allocations: 4.767 MB / 1.11 GB, free: 36.59 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/2.328, allocations: 1.547 MB / 1.112 GB, free: 35.62 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/2.328, allocations: 120.4 kB / 1.112 GB, free: 35.62 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003563/2.329, allocations: 0.545 MB / 1.112 GB, free: 35.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/2.333, allocations: 2.813 MB / 1.115 GB, free: 35.29 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/2.339, allocations: 5.009 MB / 1.12 GB, free: 32.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/2.349, allocations: 8.284 MB / 1.128 GB, free: 30.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-05/2.35, allocations: 21.22 kB / 1.128 GB, free: 30.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01744/2.367, allocations: 9.554 MB / 1.137 GB, free: 27.05 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/2.367, allocations: 33.56 kB / 1.137 GB, free: 27.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/2.367, allocations: 63.09 kB / 1.138 GB, free: 27.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/2.371, allocations: 1.497 MB / 1.139 GB, free: 26.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/2.377, allocations: 1.323 MB / 1.14 GB, free: 26.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/2.396, allocations: 16.34 MB / 1.156 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/2.402, allocations: 363.6 kB / 1.157 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/2.403, allocations: 279.2 kB / 1.157 GB, free: 15.34 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 682 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008735/2.412, allocations: 3.919 MB / 1.161 GB, free: 13.43 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/2.413, allocations: 0.4961 MB / 1.161 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/2.427, allocations: 7.946 MB / 1.169 GB, free: 9.805 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/2.427, allocations: 48.38 kB / 1.169 GB, free: 9.805 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/2.427, allocations: 15.94 kB / 1.169 GB, free: 9.805 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.516e-05/2.427, allocations: 22.88 kB / 1.169 GB, free: 9.805 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03793/2.465, allocations: 17.69 MB / 1.186 GB, free: 2.293 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/2.465, allocations: 7.797 kB / 1.186 GB, free: 2.293 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/2.468, allocations: 0.7484 MB / 1.187 GB, free: 2.266 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/2.473, allocations: 1.554 MB / 1.189 GB, free: 1.887 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007998/2.473, allocations: 115.4 kB / 1.189 GB, free: 1.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/2.496, allocations: 19.6 MB / 1.208 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.496, allocations: 5.781 kB / 1.208 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/2.516, allocations: 11.49 MB / 1.219 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003636/2.52, allocations: 1.166 MB / 1.22 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.521, allocations: 99.23 kB / 1.22 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/2.524, allocations: 246.3 kB / 1.22 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008096/2.525, allocations: 338.2 kB / 1.221 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.525, allocations: 137.6 kB / 1.221 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005767/2.531, allocations: 3.071 MB / 1.224 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/2.531, allocations: 0 / 1.224 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01167/2.543, allocations: 1.956 MB / 1.226 GB, free: 2.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,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,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (397): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 3,(14,41.3%) 44,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(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.002673/2.546, allocations: 0.8913 MB / 1.227 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3161/2.862, allocations: 8.069 MB / 1.235 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/2.862, allocations: 0 / 1.235 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008412/2.87, allocations: 4.638 MB / 1.239 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/2.881, allocations: 1.272 MB / 1.24 GB, free: 96.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04185/2.923, allocations: 23.27 MB / 1.263 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009201/2.932, allocations: 6.644 MB / 1.27 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/2.934, allocations: 441.7 kB / 1.27 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.123e-06/2.934, allocations: 0 / 1.27 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of Templates: time 1.235/4.169, allocations: 0.5168 GB / 1.787 GB, free: 13.75 MB / 0.5417 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorTypes.h:123:9: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.h:18:115: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:67:106: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType& output) ^ 3 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1