Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009953, allocations: 97.97 kB / 16.96 MB, free: 6.41 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.001274/0.001274, allocations: 179.3 kB / 17.84 MB, free: 5.969 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.643/1.643, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004267, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01052/0.1677, allocations: 8.504 MB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.1754, allocations: 2.922 MB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.1778, allocations: 47.75 kB / 363.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.1805, allocations: 0.5436 MB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1839, allocations: 0.6369 MB / 364.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1849, allocations: 247.7 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.1892, allocations: 2.594 MB / 367.4 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.1916, allocations: 1.524 MB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.1939, allocations: 0.8832 MB / 369.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.1961, allocations: 1.214 MB / 371 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.1965, allocations: 132 kB / 371.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000729/0.1972, allocations: 203.9 kB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3326/0.5298, allocations: 0.6649 MB / 372 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.5319, allocations: 0.4888 MB / 372.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006364/0.5383, allocations: 3.325 MB / 375.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5383, allocations: 0.625 kB / 375.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5383, allocations: 2.25 kB / 375.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000263/0.5386, allocations: 0.5938 kB / 375.8 MB, free: 11.7 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.009687/0.5483, allocations: 2.499 MB / 378.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5484, allocations: 12.23 kB / 378.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.5509, allocations: 285 kB / 378.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.5558, allocations: 1.444 MB / 380 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.5561, allocations: 165.2 kB / 380.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.5573, allocations: 216 kB / 380.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009622/0.5669, allocations: 2.794 MB / 383.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.567, allocations: 8.234 kB / 383.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.5673, allocations: 85.92 kB / 383.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.5675, allocations: 103.2 kB / 383.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/0.5728, allocations: 2.363 MB / 385.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.5879, allocations: 8.64 MB / 394.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.5905, allocations: 1.705 MB / 396.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5922, allocations: 0.9904 MB / 397.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.5925, allocations: 213.7 kB / 397.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5925, allocations: 45.69 kB / 397.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=101): time 3.366e-06/0.5926, allocations: 0 / 397.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.01289/0.6055, allocations: 6.318 MB / 403.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.6056, allocations: 74.94 kB / 403.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.6084, allocations: 1.425 MB / 405.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6085, allocations: 45.7 kB / 405.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.6097, allocations: 1.046 MB / 406.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/0.6101, allocations: 399.1 kB / 406.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.6102, allocations: 33.59 kB / 406.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002633/0.6104, allocations: 353.9 kB / 407 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.6118, allocations: 0.7027 MB / 407.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.6134, allocations: 1.073 MB / 408.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.6152, allocations: 0.863 MB / 409.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.6152, allocations: 0 / 409.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005054/0.6203, allocations: 2.435 MB / 412.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.6204, allocations: 8 kB / 412.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.6204, allocations: 12 kB / 412.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.6216, allocations: 410.5 kB / 412.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.6229, allocations: 341.3 kB / 412.8 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.6308, allocations: 6.464 MB / 419.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.6327, allocations: 103.9 kB / 419.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.6331, allocations: 56 kB / 419.4 MB, free: 14.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002275/0.6354, allocations: 0.6873 MB / 420.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.6361, allocations: 165.9 kB / 420.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.641, allocations: 2.152 MB / 422.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.641, allocations: 14.3 kB / 422.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.6411, allocations: 4 kB / 422.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6411, allocations: 3.984 kB / 422.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009821/0.6509, allocations: 4.591 MB / 427.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.651, allocations: 7.953 kB / 427.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.6519, allocations: 219.5 kB / 427.3 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.6531, allocations: 448.6 kB / 427.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.6532, allocations: 41.94 kB / 427.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/0.6618, allocations: 7.921 MB / 435.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.6618, allocations: 8.031 kB / 435.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/0.6687, allocations: 3.127 MB / 438.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.67, allocations: 383 kB / 439.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/0.6706, allocations: 35.94 kB / 439.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.6717, allocations: 87.91 kB / 439.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.672, allocations: 91.69 kB / 439.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.6721, allocations: 39.98 kB / 439.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00202/0.6741, allocations: 0.973 MB / 440.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6741, allocations: 0 / 440.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002231/0.6763, allocations: 460 kB / 440.9 MB, free: 8.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,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 (102): * Single equations (assignments): 98 * 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: 4 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004188/0.6768, allocations: 169.5 kB / 441 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.6807, allocations: 2.242 MB / 443.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6807, allocations: 0 / 443.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.6831, allocations: 1.442 MB / 444.7 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.6855, allocations: 393 kB / 445.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/0.6944, allocations: 5.368 MB / 450.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.6963, allocations: 1.788 MB / 452.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.697, allocations: 119.4 kB / 452.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.697, allocations: 3.938 kB / 452.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.08696/0.7839, allocations: 68.6 MB / 0.5088 GB, free: 8.711 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.SMR_InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_InverterCalcHelperMain.o] Error 1