Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008703, allocations: 91.88 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.778/1.778, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008461/0.1305, allocations: 7.242 MB / 366 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.1372, allocations: 2.584 MB / 368.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1384, allocations: 39.81 kB / 368.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.1398, allocations: 0.4972 MB / 369.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1413, allocations: 0.5398 MB / 369.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.1418, allocations: 187.7 kB / 369.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.144, allocations: 2.101 MB / 372 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2287/0.3728, allocations: 0.9515 MB / 372.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.3749, allocations: 0.6938 MB / 373.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.3766, allocations: 0.901 MB / 374.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.3769, allocations: 105.6 kB / 374.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.3775, allocations: 167.7 kB / 374.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007706/0.3783, allocations: 497.2 kB / 375.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007113/0.379, allocations: 378.6 kB / 375.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.3828, allocations: 2.408 MB / 378.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3828, allocations: 7.719 kB / 378.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3828, allocations: 0 / 378.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.01e-05/0.3829, allocations: 2.344 kB / 378.1 MB, free: 9.887 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.004143/0.387, allocations: 1.822 MB / 379.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3871, allocations: 9.938 kB / 379.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.3878, allocations: 221.9 kB / 380.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.3898, allocations: 1.077 MB / 381.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3899, allocations: 111.5 kB / 381.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.3902, allocations: 154 kB / 381.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/0.394, allocations: 1.946 MB / 383.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.3941, allocations: 7.984 kB / 383.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.3942, allocations: 62.31 kB / 383.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.3944, allocations: 77.05 kB / 383.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.3975, allocations: 1.572 MB / 385.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.408, allocations: 6.362 MB / 391.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4094, allocations: 0.8331 MB / 392.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4105, allocations: 0.5756 MB / 392.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.4107, allocations: 121.6 kB / 393 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4107, allocations: 41.61 kB / 393.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 3.126e-06/0.4108, allocations: 0 / 393.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=85): time 0.01228/0.423, allocations: 5.908 MB / 399 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4231, allocations: 59.31 kB / 399 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4247, allocations: 1.137 MB / 400.2 MB, free: 280 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.4248, allocations: 39.92 kB / 400.2 MB, free: 240 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.4256, allocations: 0.7964 MB / 401 MB, free: 15.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.4259, allocations: 296.5 kB / 401.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.426, allocations: 24.59 kB / 401.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4262, allocations: 353.8 kB / 401.6 MB, free: 15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/0.4269, allocations: 0.5382 MB / 402.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.428, allocations: 0.8818 MB / 403.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.429, allocations: 0.6884 MB / 403.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.429, allocations: 4 kB / 403.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003302/0.4323, allocations: 2.031 MB / 405.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4324, allocations: 8.25 kB / 405.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.4324, allocations: 16 kB / 405.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.4337, allocations: 0.5528 MB / 406.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.4345, allocations: 241.9 kB / 406.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007687/0.4422, allocations: 7.891 MB / 414.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.4435, allocations: 71.78 kB / 414.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4436, allocations: 55.47 kB / 414.6 MB, free: 2.051 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.001481/0.4451, allocations: 0.521 MB / 415.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.4454, allocations: 122.5 kB / 415.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.4485, allocations: 1.766 MB / 417 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4485, allocations: 8 kB / 417 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4485, allocations: 4 kB / 417 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4486, allocations: 3.984 kB / 417 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/0.4554, allocations: 3.742 MB / 420.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4554, allocations: 3.984 kB / 420.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.4559, allocations: 124.1 kB / 420.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.4573, allocations: 0.599 MB / 421.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.4574, allocations: 27.94 kB / 421.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007724/0.4652, allocations: 7.061 MB / 428.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4652, allocations: 4 kB / 428.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.4692, allocations: 2.467 MB / 431.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.47, allocations: 311.6 kB / 431.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.4702, allocations: 23.98 kB / 431.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.4708, allocations: 56.03 kB / 431.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.471, allocations: 80.39 kB / 431.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.471, allocations: 23.98 kB / 431.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.4723, allocations: 0.7778 MB / 432.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4724, allocations: 0 / 432.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001663/0.474, allocations: 387.9 kB / 432.7 MB, free: 15.39 MB / 350.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.000314/0.4744, allocations: 148 kB / 432.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.4776, allocations: 2.123 MB / 435 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4777, allocations: 0 / 435 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.4796, allocations: 1.292 MB / 436.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.4814, allocations: 352.2 kB / 436.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/0.4878, allocations: 3.958 MB / 440.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.489, allocations: 1.452 MB / 442 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.4894, allocations: 91.42 kB / 442.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4894, allocations: 0 / 442.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Templates: time 0.07271/0.5621, allocations: 58.91 MB / 0.4893 GB, free: 10.91 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBrakingCalcHelperMain.o] Error 1