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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009936/0.0009936, allocations: 199.5 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007522/0.0007522, allocations: 102.4 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002053/0.0002054, allocations: 4 kB / 357.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.19, allocations: 51.29 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.4945, allocations: 155.1 MB / 0.5505 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4947, allocations: 113.6 kB / 0.5506 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168/1.663, allocations: 475.1 MB / 1.015 GB, free: 10.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.663, allocations: 0 / 1.015 GB, free: 10.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008154/1.664, allocations: 331.6 kB / 1.015 GB, free: 10.6 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.4931/2.157, allocations: 13.91 MB / 1.028 GB, free: 18.22 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/2.157, allocations: 9.875 kB / 1.028 GB, free: 18.22 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/2.187, allocations: 5.884 MB / 1.034 GB, free: 17.46 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/2.209, allocations: 11.08 MB / 1.045 GB, free: 16.59 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008208/2.21, allocations: 1.03 MB / 1.046 GB, free: 16.56 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004113/2.214, allocations: 1.359 MB / 1.047 GB, free: 16.55 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/2.257, allocations: 22.56 MB / 1.069 GB, free: 14.89 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004105/2.258, allocations: 25.41 kB / 1.069 GB, free: 14.88 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002604/2.26, allocations: 0.5834 MB / 1.07 GB, free: 14.88 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007537/2.261, allocations: 0.9751 MB / 1.071 GB, free: 14.85 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03352/2.295, allocations: 19.57 MB / 1.09 GB, free: 14.73 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/2.399, allocations: 73.44 MB / 1.162 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02996/2.429, allocations: 42.59 MB / 1.203 GB, free: 5.719 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007716/2.437, allocations: 5.205 MB / 1.208 GB, free: 1.797 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/2.458, allocations: 13.08 MB / 1.221 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/2.458, allocations: 82.78 kB / 1.221 GB, free: 7.09 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=504): time 6.502e-06/2.459, allocations: 4 kB / 1.221 GB, free: 7.086 MB / 0.5418 GB Notification: Performance of matching and sorting (n=512): time 0.29/2.748, allocations: 27.39 MB / 1.248 GB, free: 97.59 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/2.749, allocations: 134.3 kB / 1.248 GB, free: 97.49 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/2.756, allocations: 5.682 MB / 1.254 GB, free: 97.05 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008419/2.757, allocations: 109.3 kB / 1.254 GB, free: 97.02 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.002754/2.76, allocations: 6.144 MB / 1.26 GB, free: 93.81 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/2.762, allocations: 1.742 MB / 1.262 GB, free: 92.71 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/2.762, allocations: 150.7 kB / 1.262 GB, free: 92.71 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0003489/2.763, allocations: 0.609 MB / 1.262 GB, free: 92.4 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/2.767, allocations: 3.621 MB / 1.266 GB, free: 92.38 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005918/2.773, allocations: 6.43 MB / 1.272 GB, free: 89.02 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/2.785, allocations: 10.72 MB / 1.283 GB, free: 85.63 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/2.785, allocations: 23.38 kB / 1.283 GB, free: 85.63 MB / 0.5418 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01981/2.805, allocations: 12.02 MB / 1.294 GB, free: 84.94 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/2.805, allocations: 48.73 kB / 1.294 GB, free: 84.94 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/2.805, allocations: 87.94 kB / 1.294 GB, free: 84.94 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/2.809, allocations: 1.505 MB / 1.296 GB, free: 84.88 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006101/2.815, allocations: 1.644 MB / 1.298 GB, free: 84.87 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/2.834, allocations: 17.91 MB / 1.315 GB, free: 78.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/2.842, allocations: 432.9 kB / 1.315 GB, free: 78.06 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/2.843, allocations: 366 kB / 1.316 GB, free: 78.06 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 852 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01143/2.855, allocations: 5.194 MB / 1.321 GB, free: 77.89 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/2.856, allocations: 0.5963 MB / 1.321 GB, free: 77.57 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/2.872, allocations: 9.316 MB / 1.331 GB, free: 76.95 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00858/2.881, allocations: 5.855 MB / 1.336 GB, free: 75.18 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/2.881, allocations: 21.16 kB / 1.336 GB, free: 75.18 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.271e-05/2.881, allocations: 27.33 kB / 1.336 GB, free: 75.18 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03855/2.919, allocations: 21.1 MB / 1.357 GB, free: 66.56 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/2.919, allocations: 6.312 kB / 1.357 GB, free: 66.56 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/2.923, allocations: 0.8623 MB / 1.358 GB, free: 66.53 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003992/2.927, allocations: 1.545 MB / 1.359 GB, free: 66.11 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007325/2.928, allocations: 127.3 kB / 1.359 GB, free: 66.04 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/2.947, allocations: 21.09 MB / 1.38 GB, free: 51.01 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.947, allocations: 11 kB / 1.38 GB, free: 51.01 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/2.966, allocations: 13.68 MB / 1.393 GB, free: 40.12 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003528/2.969, allocations: 1.363 MB / 1.395 GB, free: 38.88 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/2.971, allocations: 108.5 kB / 1.395 GB, free: 38.78 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/2.974, allocations: 298.2 kB / 1.395 GB, free: 38.57 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008534/2.974, allocations: 411.9 kB / 1.395 GB, free: 38.31 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003386/2.975, allocations: 157.9 kB / 1.396 GB, free: 38.17 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0059/2.981, allocations: 3.815 MB / 1.399 GB, free: 35.03 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.21e-07/2.981, allocations: 4 kB / 1.399 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01008/2.991, allocations: 2.387 MB / 1.402 GB, free: 32.65 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 5,(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.001555/2.992, allocations: 0.6093 MB / 1.402 GB, free: 32.18 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01407/3.006, allocations: 9.831 MB / 1.412 GB, free: 23.61 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/3.007, allocations: 0 / 1.412 GB, free: 23.61 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007879/3.014, allocations: 5.484 MB / 1.417 GB, free: 18.72 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/3.027, allocations: 1.741 MB / 1.419 GB, free: 18.02 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.285/3.313, allocations: 29.4 MB / 1.448 GB, free: 79.16 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/3.324, allocations: 8.591 MB / 1.456 GB, free: 78.07 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/3.326, allocations: 0.5009 MB / 1.457 GB, free: 78.07 MB / 0.5418 GB Notification: Performance of SimCode: time 1.262e-06/3.326, allocations: 3.875 kB / 1.457 GB, free: 78.07 MB / 0.5418 GB Notification: Performance of Templates: time 1.608/4.934, allocations: 0.6679 GB / 2.124 GB, free: 91.74 MB / 0.573 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOLCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLTypes.h:123:9: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLTypes.h:124:9: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' typedef _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLFunctions.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 ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLFunctions.h:19:115: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' void /*RecordTypetest*/ _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower(double re_, double im_,_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLFunctions.cpp:56:106: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLFunctions.cpp:64:106: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' void Functions::_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower(double re_, double im_, _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType& output) ^ 6 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1