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.001467/0.001467, allocations: 105.9 kB / 17.81 MB, free: 5.559 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.001574/0.001575, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.051/2.051, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001314/0.001314, allocations: 47.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1562, allocations: 46.64 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01477/0.171, allocations: 9.505 MB / 336.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009039/0.1801, allocations: 3.121 MB / 339.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.1833, allocations: 39.81 kB / 339.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.1864, allocations: 0.6021 MB / 340.5 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.191, allocations: 0.6877 MB / 341.2 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1928, allocations: 339.7 kB / 341.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005674/0.1985, allocations: 2.872 MB / 344.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004485/0.203, allocations: 1.933 MB / 346.4 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.2062, allocations: 1.039 MB / 347.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.211, allocations: 1.444 MB / 348.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.2129, allocations: 196 kB / 349 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.216, allocations: 307.8 kB / 349.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002613/0.2187, allocations: 0.7633 MB / 350.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004255/0.223, allocations: 1.302 MB / 351.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.2299, allocations: 3.41 MB / 354.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.2299, allocations: 0 / 354.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.23, allocations: 3.938 kB / 354.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.2302, allocations: 0 / 354.8 MB, free: 9.164 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.01415/0.2443, allocations: 2.897 MB / 357.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.2444, allocations: 12.03 kB / 357.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.2463, allocations: 293.6 kB / 358 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.2511, allocations: 1.433 MB / 359.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.2514, allocations: 164.5 kB / 359.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007947/0.2523, allocations: 204 kB / 359.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009968/0.2622, allocations: 2.803 MB / 362.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.183e-05/0.2624, allocations: 7.906 kB / 362.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.2626, allocations: 80 kB / 362.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.2628, allocations: 108.2 kB / 362.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/0.268, allocations: 2.347 MB / 365.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/0.286, allocations: 8.597 MB / 373.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.2889, allocations: 1.714 MB / 375.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.2908, allocations: 0.9645 MB / 376.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.2912, allocations: 207.2 kB / 376.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.2913, allocations: 47.5 kB / 376.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 5.871e-06/0.2913, allocations: 4 kB / 376.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.3244/0.6157, allocations: 6.094 MB / 382.8 MB, free: 50.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6158, allocations: 63.28 kB / 382.8 MB, free: 50.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.6188, allocations: 1.445 MB / 384.3 MB, free: 50.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.619, allocations: 46.14 kB / 384.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007879/0.6198, allocations: 1.038 MB / 385.3 MB, free: 49.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.6202, allocations: 402.2 kB / 385.7 MB, free: 49.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/0.6207, allocations: 251.9 kB / 386 MB, free: 48.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6208, allocations: 368.6 kB / 386.3 MB, free: 48.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.6221, allocations: 0.6828 MB / 387 MB, free: 48.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6236, allocations: 1.07 MB / 388.1 MB, free: 47.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.6264, allocations: 1.862 MB / 390 MB, free: 46.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.6265, allocations: 5.125 kB / 390 MB, free: 46.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005003/0.6315, allocations: 2.409 MB / 392.4 MB, free: 45.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.6315, allocations: 8.812 kB / 392.4 MB, free: 45.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.6316, allocations: 11.84 kB / 392.4 MB, free: 45.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.6326, allocations: 420.2 kB / 392.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6338, allocations: 326 kB / 393.1 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.6397, allocations: 6.466 MB / 399.6 MB, free: 40.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.6414, allocations: 97.14 kB / 399.7 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.6415, allocations: 62.67 kB / 399.7 MB, free: 40.4 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.001337/0.6429, allocations: 0.6929 MB / 400.4 MB, free: 40.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.6433, allocations: 156.8 kB / 400.6 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.6466, allocations: 2.124 MB / 402.7 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6466, allocations: 12.84 kB / 402.7 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6466, allocations: 4.219 kB / 402.7 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6466, allocations: 7.734 kB / 402.7 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.6529, allocations: 4.569 MB / 407.3 MB, free: 35.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.653, allocations: 4 kB / 407.3 MB, free: 35.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.6537, allocations: 216.1 kB / 407.5 MB, free: 35.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009694/0.6547, allocations: 455.7 kB / 408 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.6548, allocations: 35.98 kB / 408 MB, free: 34.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.6604, allocations: 7.921 MB / 415.9 MB, free: 26.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6604, allocations: 4 kB / 415.9 MB, free: 26.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/0.6645, allocations: 3.105 MB / 419 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.6653, allocations: 379.1 kB / 419.4 MB, free: 22.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.6655, allocations: 35.05 kB / 419.4 MB, free: 22.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.6663, allocations: 83.91 kB / 419.5 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.6665, allocations: 92.75 kB / 419.6 MB, free: 22.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.6666, allocations: 44.97 kB / 419.7 MB, free: 22.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.6678, allocations: 0.9847 MB / 420.6 MB, free: 21.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6678, allocations: 0 / 420.6 MB, free: 21.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001754/0.6696, allocations: 462.6 kB / 421.1 MB, free: 21.16 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.0003474/0.6699, allocations: 205 kB / 421.3 MB, free: 20.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.673, allocations: 2.205 MB / 423.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.673, allocations: 0 / 423.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.6749, allocations: 1.447 MB / 424.9 MB, free: 17.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.677, allocations: 401.3 kB / 425.3 MB, free: 16.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.6838, allocations: 5.481 MB / 430.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.685, allocations: 1.784 MB / 432.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.6855, allocations: 119.4 kB / 432.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6855, allocations: 0 / 432.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of Templates: time 0.08267/0.7682, allocations: 68.92 MB / 0.4899 GB, free: 4.289 MB / 382.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