Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 91.28 kB / 16.95 MB, free: 5.555 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.0009012/0.0009013, allocations: 191.1 kB / 17.85 MB, free: 5.23 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.594/1.594, allocations: 223.2 MB / 241.9 MB, free: 132 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 8.938 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1551, allocations: 50.41 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01305/0.1682, allocations: 10.57 MB / 362.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.1833, allocations: 6.208 MB / 368.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.1865, allocations: 55.75 kB / 368.7 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.1899, allocations: 0.7148 MB / 369.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.1952, allocations: 0.7998 MB / 370.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005139/0.2003, allocations: 1.391 MB / 371.6 MB, free: 204 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3044/0.5048, allocations: 3.453 MB / 375.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.5078, allocations: 1.423 MB / 376.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.5116, allocations: 1.114 MB / 377.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.5158, allocations: 1.401 MB / 379 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006802/0.5165, allocations: 156.9 kB / 379.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.5183, allocations: 346.1 kB / 379.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.5196, allocations: 0.7404 MB / 380.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.5217, allocations: 0.5688 MB / 380.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.5279, allocations: 3.737 MB / 384.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5279, allocations: 0 / 384.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.5279, allocations: 0 / 384.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.5281, allocations: 1.219 kB / 384.5 MB, free: 9.367 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.009049/0.5371, allocations: 2.958 MB / 387.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5372, allocations: 9.609 kB / 387.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.5397, allocations: 430.5 kB / 387.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.5446, allocations: 1.631 MB / 389.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.5449, allocations: 185.7 kB / 389.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006812/0.5456, allocations: 245.5 kB / 390 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006636/0.5522, allocations: 3.039 MB / 393 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.336e-05/0.5523, allocations: 8.531 kB / 393 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.5526, allocations: 97.33 kB / 393.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.5527, allocations: 108.6 kB / 393.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/0.5581, allocations: 2.529 MB / 395.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01756/0.5757, allocations: 10.29 MB / 406 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.5795, allocations: 2.726 MB / 408.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.5816, allocations: 1.227 MB / 410 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.5819, allocations: 126.4 kB / 410.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.582, allocations: 51.83 kB / 410.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 4.228e-06/0.582, allocations: 0 / 410.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01928/0.6013, allocations: 8.098 MB / 418.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.6014, allocations: 174.8 kB / 418.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.6051, allocations: 1.854 MB / 420.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.6054, allocations: 57.7 kB / 420.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.6065, allocations: 1.149 MB / 421.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/0.6072, allocations: 0.5646 MB / 422.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.6073, allocations: 40 kB / 422.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.6076, allocations: 384.3 kB / 422.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.6092, allocations: 0.8628 MB / 423.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.611, allocations: 1.311 MB / 424.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.6127, allocations: 1.044 MB / 425.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.6127, allocations: 4 kB / 425.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005832/0.6186, allocations: 3.144 MB / 428.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000473/0.6191, allocations: 469.8 kB / 429.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.6191, allocations: 12 kB / 429.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.6211, allocations: 0.7886 MB / 430.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.6225, allocations: 367.4 kB / 430.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.6358, allocations: 11.84 MB / 442.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.6383, allocations: 107.8 kB / 442.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.6385, allocations: 68 kB / 442.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6385, allocations: 8 kB / 442.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005302/0.6438, allocations: 2.907 MB / 445.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.979e-05/0.6439, allocations: 16.45 kB / 445.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.6458, allocations: 0.7897 MB / 446.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.647, allocations: 359.5 kB / 446.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.6607, allocations: 11.84 MB / 458.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/0.6632, allocations: 95.91 kB / 458.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.6635, allocations: 72 kB / 458.6 MB, free: 5.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002227/0.6658, allocations: 0.801 MB / 459.4 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007331/0.6665, allocations: 219.2 kB / 459.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005289/0.6718, allocations: 2.857 MB / 462.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6718, allocations: 16 kB / 462.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6719, allocations: 8 kB / 462.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.6719, allocations: 7.969 kB / 462.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.683, allocations: 5.699 MB / 468.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.6831, allocations: 4 kB / 468.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/0.684, allocations: 227.7 kB / 468.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.6862, allocations: 0.8284 MB / 469.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.6864, allocations: 43.98 kB / 469.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.7006, allocations: 13.28 MB / 482.5 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.7007, allocations: 4 kB / 482.5 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/0.7076, allocations: 4.047 MB / 486.6 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.7094, allocations: 482.3 kB / 487.1 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.7097, allocations: 43.98 kB / 487.1 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.7109, allocations: 95.91 kB / 487.2 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/0.7113, allocations: 137 kB / 487.3 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.902e-05/0.7114, allocations: 48.45 kB / 487.4 MB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002255/0.7137, allocations: 1.266 MB / 488.6 MB, free: 6.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7137, allocations: 0 / 488.6 MB, free: 6.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004555/0.7182, allocations: 1.07 MB / 489.7 MB, free: 5.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 114 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000675/0.7189, allocations: 224.7 kB / 489.9 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008506/0.7275, allocations: 5.267 MB / 495.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7275, allocations: 0 / 495.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/0.7308, allocations: 2.083 MB / 497.3 MB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.7345, allocations: 0.5611 MB / 497.8 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.749, allocations: 6.623 MB / 0.4926 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.7511, allocations: 1.956 MB / 0.4946 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/0.752, allocations: 135.4 kB / 0.4947 GB, free: 4.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.422e-06/0.752, allocations: 0 / 0.4947 GB, free: 4.348 MB / 414.1 MB Notification: Performance of Templates: time 0.3923/1.144, allocations: 104.9 MB / 0.5971 GB, free: 99.78 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.SMEE_RectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_RectifierCalcHelperMain.o] Error 1