Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 93.3 kB / 16.95 MB, free: 5.676 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.001446/0.001446, allocations: 184.3 kB / 17.85 MB, free: 5.32 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.579/1.579, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 4.969 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.0112/0.1387, allocations: 10.15 MB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007515/0.1463, allocations: 3.514 MB / 365.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.1484, allocations: 55.75 kB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.1504, allocations: 0.6523 MB / 366.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.1533, allocations: 0.7923 MB / 367 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1545, allocations: 311.6 kB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005182/0.1597, allocations: 3.386 MB / 370.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2515/0.4112, allocations: 1.739 MB / 372.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.4145, allocations: 1.102 MB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.4189, allocations: 1.461 MB / 375 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007483/0.4197, allocations: 163 kB / 375.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4211, allocations: 226 kB / 375.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.4222, allocations: 0.8114 MB / 376.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.4235, allocations: 0.6035 MB / 376.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.4291, allocations: 4.112 MB / 380.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4291, allocations: 0 / 380.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4291, allocations: 0 / 380.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.4293, allocations: 0 / 380.9 MB, free: 10.02 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.00916/0.4384, allocations: 2.97 MB / 383.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4385, allocations: 10.03 kB / 383.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.4402, allocations: 344 kB / 384.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.4444, allocations: 1.786 MB / 386 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.4446, allocations: 188.4 kB / 386.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.4451, allocations: 248.2 kB / 386.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/0.4525, allocations: 3.409 MB / 389.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/0.4527, allocations: 14.19 kB / 389.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.4529, allocations: 102.1 kB / 390 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.4531, allocations: 121.9 kB / 390.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005856/0.4589, allocations: 2.919 MB / 393 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.478, allocations: 10.92 MB / 404 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.4813, allocations: 2.427 MB / 406.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.4833, allocations: 1.191 MB / 407.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.4836, allocations: 123.2 kB / 407.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.4836, allocations: 48.91 kB / 407.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/0.4836, allocations: 0 / 407.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.01627/0.4999, allocations: 7.266 MB / 415 MB, free: 3.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.5, allocations: 98.41 kB / 415.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.5031, allocations: 1.819 MB / 416.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5033, allocations: 53.7 kB / 417 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.5042, allocations: 1.213 MB / 418.2 MB, free: 304 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.5046, allocations: 0.4926 MB / 418.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.5047, allocations: 32 kB / 418.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5049, allocations: 373.9 kB / 419.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.5062, allocations: 0.8432 MB / 419.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.5079, allocations: 1.323 MB / 421.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5094, allocations: 1.019 MB / 422.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5094, allocations: 8 kB / 422.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004675/0.5141, allocations: 2.842 MB / 425.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.5145, allocations: 0.5113 MB / 425.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.5145, allocations: 16 kB / 425.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.516, allocations: 0.6679 MB / 426.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.5173, allocations: 359.6 kB / 426.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/0.5263, allocations: 8.292 MB / 434.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.5284, allocations: 115.8 kB / 435.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.5285, allocations: 76.05 kB / 435.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.5286, allocations: 4 kB / 435.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004388/0.533, allocations: 2.624 MB / 437.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-05/0.5331, allocations: 16 kB / 437.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.5349, allocations: 0.6672 MB / 438.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.5364, allocations: 351.5 kB / 438.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009628/0.546, allocations: 8.305 MB / 447.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.5483, allocations: 103.8 kB / 447.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.5485, allocations: 68 kB / 447.3 MB, free: 2.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 177 * 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: 2 {(2,100.0%) 9,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.002468/0.551, allocations: 0.9259 MB / 448.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/0.5517, allocations: 205.6 kB / 448.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.5567, allocations: 2.549 MB / 450.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5568, allocations: 16 kB / 450.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.5568, allocations: 4 kB / 451 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.5568, allocations: 7.969 kB / 451 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.5697, allocations: 5.437 MB / 456.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5697, allocations: 0 / 456.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.5707, allocations: 220 kB / 456.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.5725, allocations: 0.6986 MB / 457.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.5727, allocations: 31.98 kB / 457.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.5852, allocations: 9.778 MB / 467.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.5853, allocations: 4 kB / 467.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/0.5935, allocations: 3.753 MB / 470.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/0.5958, allocations: 466.5 kB / 471.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/0.597, allocations: 32 kB / 471.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.599, allocations: 99.89 kB / 471.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.5995, allocations: 121 kB / 471.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.5997, allocations: 39.98 kB / 471.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003862/0.6035, allocations: 1.248 MB / 472.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6036, allocations: 0 / 472.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006842/0.6104, allocations: 0.9999 MB / 473.9 MB, free: 6.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smpm.inertiaRotor.w,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],inertiaLoad.phi) * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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: 3 {(2,100.0%) 9,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006022/0.6111, allocations: 159.9 kB / 474 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0083/0.6194, allocations: 4.485 MB / 478.5 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6194, allocations: 4.062 kB / 478.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/0.6223, allocations: 1.73 MB / 480.2 MB, free: 336 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/0.6273, allocations: 0.5985 MB / 480.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.6407, allocations: 6.484 MB / 487.3 MB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.6435, allocations: 2.071 MB / 489.4 MB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/0.6443, allocations: 139.4 kB / 489.5 MB, free: 6.953 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6443, allocations: 0 / 489.5 MB, free: 6.953 MB / 398.1 MB Notification: Performance of Templates: time 0.4414/1.086, allocations: 86.4 MB / 0.5624 GB, free: 138.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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.SynchronousMachines.SMPM_BrakingCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_BrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_BrakingCalcHelperMain.o] Error 1