Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001692, allocations: 90.92 kB / 16.96 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 180.4 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003678, allocations: 7.984 kB / 301.5 MB, free: 6.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 50.42 MB / 351.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0106/0.1687, allocations: 7.208 MB / 359.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007563/0.1764, allocations: 2.549 MB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.1784, allocations: 39.81 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.1806, allocations: 497.2 kB / 362.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.1834, allocations: 0.5437 MB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.1844, allocations: 175.8 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003915/0.1883, allocations: 2.101 MB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.1901, allocations: 0.9519 MB / 365.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.1922, allocations: 0.6887 MB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.1941, allocations: 0.8989 MB / 367.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.1943, allocations: 100 kB / 367.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.195, allocations: 163.9 kB / 367.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006325/0.1957, allocations: 0.4945 MB / 368.3 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.1964, allocations: 380.8 kB / 368.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.1994, allocations: 2.4 MB / 371 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1994, allocations: 0 / 371 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1994, allocations: 0 / 371 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.302e-05/0.1995, allocations: 8 kB / 371 MB, free: 0.707 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.3291/0.5287, allocations: 1.812 MB / 372.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5287, allocations: 9.125 kB / 372.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.5302, allocations: 216.5 kB / 373.1 MB, free: 23.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.5332, allocations: 1.076 MB / 374.2 MB, free: 23.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.5334, allocations: 112.2 kB / 374.3 MB, free: 23.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.5337, allocations: 149.5 kB / 374.4 MB, free: 23.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.5385, allocations: 1.947 MB / 376.4 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/0.5386, allocations: 10.88 kB / 376.4 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.5388, allocations: 65.27 kB / 376.4 MB, free: 22.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.5389, allocations: 80.19 kB / 376.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.5423, allocations: 1.573 MB / 378.1 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.5569, allocations: 6.349 MB / 384.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5586, allocations: 0.8408 MB / 385.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5598, allocations: 0.578 MB / 385.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.5601, allocations: 119 kB / 386 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.5602, allocations: 42.59 kB / 386 MB, free: 17.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 4.428e-06/0.5602, allocations: 0 / 386 MB, free: 17.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=85): time 0.01514/0.5753, allocations: 5.888 MB / 391.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.5754, allocations: 64.89 kB / 392 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.5777, allocations: 1.138 MB / 393.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.5779, allocations: 40.08 kB / 393.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.5784, allocations: 0.7686 MB / 393.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.5786, allocations: 301.5 kB / 394.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.5787, allocations: 19.97 kB / 394.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5788, allocations: 361.4 kB / 394.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.5795, allocations: 0.5366 MB / 395.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000836/0.5803, allocations: 0.8817 MB / 396 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.5811, allocations: 0.6783 MB / 396.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5811, allocations: 8 kB / 396.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003073/0.5842, allocations: 2.031 MB / 398.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5843, allocations: 12 kB / 398.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.5843, allocations: 12.25 kB / 398.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.5855, allocations: 0.5572 MB / 399.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.5863, allocations: 246.9 kB / 399.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.5929, allocations: 7.888 MB / 407.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5944, allocations: 68.02 kB / 407.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.5946, allocations: 51.94 kB / 407.5 MB, free: 15.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 117 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.5959, allocations: 0.5209 MB / 408.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.5963, allocations: 126.5 kB / 408.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.5994, allocations: 1.763 MB / 409.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5995, allocations: 15.97 kB / 410 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5995, allocations: 4.109 kB / 410 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5995, allocations: 7.922 kB / 410 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/0.6086, allocations: 3.743 MB / 413.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.6087, allocations: 4 kB / 413.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.6093, allocations: 123.8 kB / 413.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.6113, allocations: 0.5927 MB / 414.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.6114, allocations: 23.98 kB / 414.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.6225, allocations: 7.07 MB / 421.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.6225, allocations: 7.938 kB / 421.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.6282, allocations: 2.47 MB / 424 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.6293, allocations: 303.7 kB / 424.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005512/0.6299, allocations: 27.94 kB / 424.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.6309, allocations: 55.94 kB / 424.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.6312, allocations: 72.5 kB / 424.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.6313, allocations: 27.98 kB / 424.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.6332, allocations: 0.7775 MB / 425.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6332, allocations: 0 / 425.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002189/0.6354, allocations: 376 kB / 425.6 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * 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 (63): * Single equations (assignments): 59 * 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: 3 * 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: 3 {(6,69.4%) 14,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004962/0.6359, allocations: 144.9 kB / 425.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004705/0.6407, allocations: 2.126 MB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6407, allocations: 0 / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6433, allocations: 1.296 MB / 429.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.6463, allocations: 354.1 kB / 429.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6564, allocations: 3.944 MB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.6585, allocations: 1.452 MB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.6589, allocations: 95.42 kB / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6589, allocations: 0 / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of Templates: time 0.08938/0.7483, allocations: 58.77 MB / 493.8 MB, free: 8.082 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.o] Error 1