Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 98.72 kB / 17.96 MB, free: 5.637 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.001028/0.001028, allocations: 175.8 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005909/0.0005909, allocations: 11.98 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1506, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01358/0.1643, allocations: 8.988 MB / 338.6 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1747, allocations: 3.094 MB / 341.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.1783, allocations: 43.75 kB / 341.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.1818, allocations: 0.5827 MB / 342.3 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.1875, allocations: 0.6877 MB / 343 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1896, allocations: 343.7 kB / 343.3 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006934/0.1965, allocations: 2.884 MB / 346.2 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004069/0.2007, allocations: 1.906 MB / 348.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.2038, allocations: 0.8907 MB / 349 MB, free: 200 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.2074, allocations: 1.264 MB / 350.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007581/0.2082, allocations: 136 kB / 350.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2098, allocations: 239.8 kB / 350.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.211, allocations: 0.6813 MB / 351.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.2139, allocations: 1.202 MB / 352.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005637/0.2196, allocations: 3.327 MB / 355.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.2197, allocations: 0 / 355.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.252e-06/0.2197, allocations: 0 / 355.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.2199, allocations: 4 kB / 355.9 MB, free: 9.32 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.008345/0.2283, allocations: 2.464 MB / 358.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.2284, allocations: 8.031 kB / 358.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.2302, allocations: 285.7 kB / 358.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.234, allocations: 1.437 MB / 360.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.2342, allocations: 172.5 kB / 360.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006317/0.2349, allocations: 219.9 kB / 360.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007008/0.2419, allocations: 2.807 MB / 363.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-05/0.2421, allocations: 7.906 kB / 363.3 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.2423, allocations: 84 kB / 363.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.2425, allocations: 108.2 kB / 363.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.2481, allocations: 2.363 MB / 365.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.2693, allocations: 8.643 MB / 374.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.2724, allocations: 1.726 MB / 376.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.2747, allocations: 0.9762 MB / 377.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/0.2752, allocations: 199.2 kB / 377.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.2753, allocations: 51.5 kB / 377.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 4.428e-06/0.2753, allocations: 0 / 377.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.3106/0.5859, allocations: 6.212 MB / 383.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.586, allocations: 64.69 kB / 383.7 MB, free: 40.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.5887, allocations: 1.444 MB / 385.1 MB, free: 39.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.5888, allocations: 44.7 kB / 385.2 MB, free: 39.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008342/0.5897, allocations: 1.039 MB / 386.2 MB, free: 39.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.59, allocations: 412.4 kB / 386.6 MB, free: 39.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5902, allocations: 112.6 kB / 386.7 MB, free: 39.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5904, allocations: 366.1 kB / 387.1 MB, free: 38.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.5917, allocations: 0.6942 MB / 387.8 MB, free: 38.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.5932, allocations: 1.079 MB / 388.8 MB, free: 38.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.5961, allocations: 1.888 MB / 390.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.5961, allocations: 2.531 kB / 390.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004417/0.6005, allocations: 2.426 MB / 393.2 MB, free: 36.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6006, allocations: 9.594 kB / 393.2 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.6006, allocations: 15.02 kB / 393.2 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.6015, allocations: 409.7 kB / 393.6 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.6027, allocations: 338.9 kB / 393.9 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/0.609, allocations: 6.472 MB / 400.4 MB, free: 31.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.6107, allocations: 103.4 kB / 400.5 MB, free: 31.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6109, allocations: 61.72 kB / 400.6 MB, free: 31.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.6124, allocations: 0.6931 MB / 401.2 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.6128, allocations: 164.6 kB / 401.4 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.6161, allocations: 2.136 MB / 403.5 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6161, allocations: 11.81 kB / 403.6 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6161, allocations: 7.625 kB / 403.6 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.6161, allocations: 4.734 kB / 403.6 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/0.6228, allocations: 4.602 MB / 408.2 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.6229, allocations: 0 / 408.2 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.6237, allocations: 228.4 kB / 408.4 MB, free: 27.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.6247, allocations: 446.8 kB / 408.8 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.6248, allocations: 31.98 kB / 408.9 MB, free: 27.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/0.6307, allocations: 7.928 MB / 416.8 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6308, allocations: 11.41 kB / 416.8 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/0.6353, allocations: 3.14 MB / 419.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/0.6363, allocations: 391 kB / 420.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.6365, allocations: 28 kB / 420.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.6373, allocations: 87.91 kB / 420.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.6375, allocations: 100.4 kB / 420.5 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.6376, allocations: 36 kB / 420.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.639, allocations: 0.9847 MB / 421.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.639, allocations: 2.25 kB / 421.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00187/0.6408, allocations: 463.9 kB / 422 MB, free: 13.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/0.6412, allocations: 199.1 kB / 422.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.6444, allocations: 2.235 MB / 424.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6444, allocations: 4 kB / 424.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.6463, allocations: 1.444 MB / 425.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.6488, allocations: 415.6 kB / 426.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.6561, allocations: 5.619 MB / 431.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.6574, allocations: 1.784 MB / 433.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.6578, allocations: 119.4 kB / 433.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6578, allocations: 0 / 433.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of Templates: time 0.09063/0.7485, allocations: 68.6 MB / 0.4906 GB, free: 12.73 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile clang++ -std=c++14 NOTFOUND -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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.o] Error 1