Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 89.59 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01383/0.1507, allocations: 10.61 MB / 369.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3095/0.4603, allocations: 6.246 MB / 375.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.4634, allocations: 59.53 kB / 375.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.4668, allocations: 0.7131 MB / 376.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.4718, allocations: 0.8026 MB / 377.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006804/0.4786, allocations: 1.406 MB / 378.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009216/0.4878, allocations: 3.461 MB / 382.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/0.4916, allocations: 1.422 MB / 383.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.496, allocations: 1.123 MB / 384.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005744/0.5018, allocations: 1.408 MB / 386.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.5034, allocations: 153 kB / 386.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.5064, allocations: 347.3 kB / 386.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.5079, allocations: 0.7413 MB / 387.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.5108, allocations: 0.5744 MB / 387.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.519, allocations: 3.732 MB / 391.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.5191, allocations: 0 / 391.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5191, allocations: 0 / 391.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003131/0.5194, allocations: 0 / 391.6 MB, free: 5.402 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.01375/0.5332, allocations: 2.967 MB / 394.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.5332, allocations: 11.94 kB / 394.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.5364, allocations: 427.2 kB / 395 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.5415, allocations: 1.646 MB / 396.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.5417, allocations: 181.7 kB / 396.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006468/0.5424, allocations: 245.8 kB / 397 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006395/0.5488, allocations: 3.042 MB / 400.1 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/0.5489, allocations: 10.92 kB / 400.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.5491, allocations: 99.09 kB / 400.2 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.5493, allocations: 100.7 kB / 400.3 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006122/0.5554, allocations: 2.526 MB / 402.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02503/0.5805, allocations: 10.32 MB / 413.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.5846, allocations: 2.722 MB / 415.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.5867, allocations: 1.231 MB / 417.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.5871, allocations: 126.4 kB / 417.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.039e-05/0.5872, allocations: 51.86 kB / 417.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=149): time 5.51e-06/0.5872, allocations: 3.75 kB / 417.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=166): time 0.02127/0.6085, allocations: 8.084 MB / 425.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/0.6088, allocations: 197.2 kB / 425.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006274/0.6151, allocations: 1.854 MB / 427.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/0.6155, allocations: 53.7 kB / 427.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.6173, allocations: 1.17 MB / 428.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009921/0.6183, allocations: 0.5554 MB / 429.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.6185, allocations: 39.94 kB / 429.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003723/0.6189, allocations: 377.9 kB / 429.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.6212, allocations: 0.8652 MB / 430.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.6235, allocations: 1.316 MB / 431.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.6257, allocations: 1.052 MB / 432.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.6257, allocations: 8 kB / 432.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.007263/0.633, allocations: 3.14 MB / 436 MB, free: 12.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006684/0.6337, allocations: 458.9 kB / 436.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-05/0.6338, allocations: 15.98 kB / 436.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.6362, allocations: 0.7894 MB / 437.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.6376, allocations: 363.4 kB / 437.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.6537, allocations: 11.85 MB / 449.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.6568, allocations: 123.7 kB / 449.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005503/0.6574, allocations: 68 kB / 449.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6574, allocations: 4 kB / 449.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007099/0.6645, allocations: 2.898 MB / 452.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/0.6646, allocations: 20.33 kB / 452.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.6668, allocations: 0.7976 MB / 453.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.6684, allocations: 351.4 kB / 453.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.6843, allocations: 11.84 MB / 465.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.6873, allocations: 103.8 kB / 465.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005693/0.6879, allocations: 72 kB / 465.7 MB, free: 13.41 MB / 382.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.003186/0.6911, allocations: 0.8011 MB / 466.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/0.6924, allocations: 213.5 kB / 466.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/0.6995, allocations: 2.861 MB / 469.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.6996, allocations: 16.47 kB / 469.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/0.6996, allocations: 4 kB / 469.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.6996, allocations: 7.969 kB / 469.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.7152, allocations: 5.7 MB / 475.3 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.7153, allocations: 96 / 475.3 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.7163, allocations: 235.6 kB / 475.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.7188, allocations: 0.835 MB / 476.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.719, allocations: 39.98 kB / 476.4 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.7369, allocations: 13.28 MB / 489.7 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.737, allocations: 7.938 kB / 489.7 MB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007838/0.7448, allocations: 4.043 MB / 493.7 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/0.7472, allocations: 478.3 kB / 494.2 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/0.7484, allocations: 39.98 kB / 494.2 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.7507, allocations: 107.9 kB / 494.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/0.7512, allocations: 141 kB / 494.5 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.7514, allocations: 46.19 kB / 494.5 MB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002868/0.7543, allocations: 1.266 MB / 495.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7543, allocations: 0 / 495.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007031/0.7613, allocations: 1.082 MB / 496.9 MB, free: 13.09 MB / 414.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.00097/0.7623, allocations: 219.7 kB / 497.1 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.7733, allocations: 5.272 MB / 0.4906 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.7734, allocations: 0 / 0.4906 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004302/0.7778, allocations: 2.077 MB / 0.4926 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/0.7819, allocations: 0.5762 MB / 0.4932 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.7957, allocations: 6.624 MB / 0.4996 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/0.7983, allocations: 1.952 MB / 0.5015 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/0.7992, allocations: 135.4 kB / 0.5017 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 1.974e-06/0.7992, allocations: 0 / 0.5017 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Templates: time 0.4313/1.231, allocations: 105 MB / 0.6042 GB, free: 83.55 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_RectifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_RectifierCalcHelperMain.o] Error 1