Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008834, allocations: 97.91 kB / 16.95 MB, free: 5.59 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.0008933/0.0008934, allocations: 185.8 kB / 17.85 MB, free: 5.262 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.514/1.514, allocations: 223.3 MB / 241.9 MB, free: 14.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 8 kB / 301.5 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 50.41 MB / 351.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.006656/0.1426, allocations: 5.381 MB / 357.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.1471, allocations: 1.975 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.1478, allocations: 19.94 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.1484, allocations: 202.8 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.15, allocations: 0.6142 MB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1511, allocations: 386.3 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.1523, allocations: 1.066 MB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.1538, allocations: 0.9296 MB / 362.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.1544, allocations: 362.5 kB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.155, allocations: 450 kB / 363.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.707e-05/0.1551, allocations: 51.98 kB / 363.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.1556, allocations: 191.8 kB / 363.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1558, allocations: 171.2 kB / 363.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.156, allocations: 213.2 kB / 363.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.157, allocations: 1.059 MB / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1571, allocations: 4 kB / 364.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1571, allocations: 0 / 364.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1571, allocations: 0 / 364.9 MB, free: 6.641 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002689/0.1598, allocations: 1.264 MB / 366.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.1599, allocations: 8.031 kB / 366.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.1619, allocations: 366.4 kB / 366.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.163, allocations: 0.5413 MB / 367.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.1631, allocations: 74 kB / 367.1 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.1633, allocations: 103.9 kB / 367.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.1654, allocations: 1.024 MB / 368.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.1654, allocations: 0 / 368.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1655, allocations: 47.95 kB / 368.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.1656, allocations: 27.94 kB / 368.3 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.1674, allocations: 0.8705 MB / 369.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2862/0.4536, allocations: 3.543 MB / 372.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.4558, allocations: 1.906 MB / 374.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4569, allocations: 475.8 kB / 375.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.457, allocations: 98.33 kB / 375.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009987/0.458, allocations: 0.4973 MB / 375.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.116e-06/0.458, allocations: 0 / 375.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.004635/0.4627, allocations: 1.707 MB / 377.4 MB, free: 20.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.4628, allocations: 191.8 kB / 377.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.4634, allocations: 451.3 kB / 378.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.4635, allocations: 43.55 kB / 378.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.4638, allocations: 417.4 kB / 378.5 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.464, allocations: 272.3 kB / 378.8 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.4641, allocations: 19.44 kB / 378.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4642, allocations: 377.1 kB / 379.2 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.4647, allocations: 277.7 kB / 379.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.4654, allocations: 500 kB / 379.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.466, allocations: 328.4 kB / 380.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.466, allocations: 1.469 kB / 380.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001993/0.468, allocations: 1.038 MB / 381.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4681, allocations: 7.25 kB / 381.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4681, allocations: 5.984 kB / 381.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008744/0.469, allocations: 280.2 kB / 381.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.4696, allocations: 146.1 kB / 381.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.4743, allocations: 4.4 MB / 386.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.475, allocations: 113.3 kB / 386.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.4751, allocations: 32.14 kB / 386.3 MB, free: 14.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.4756, allocations: 244.1 kB / 386.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4757, allocations: 66.77 kB / 386.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.4778, allocations: 0.9838 MB / 387.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4779, allocations: 13.3 kB / 387.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4779, allocations: 1.672 kB / 387.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.4779, allocations: 4.266 kB / 387.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.4817, allocations: 1.926 MB / 389.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4817, allocations: 0.75 kB / 389.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.4822, allocations: 105.3 kB / 389.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008514/0.4831, allocations: 268 kB / 389.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.4831, allocations: 22.91 kB / 389.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.4881, allocations: 4.352 MB / 394.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4881, allocations: 4.953 kB / 394.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.4907, allocations: 1.395 MB / 395.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.4911, allocations: 218.8 kB / 395.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.4912, allocations: 17.97 kB / 395.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4916, allocations: 54.88 kB / 395.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.4918, allocations: 67.16 kB / 396 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.4918, allocations: 25.06 kB / 396 MB, free: 7.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.4922, allocations: 309.9 kB / 396.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4922, allocations: 0 / 396.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001192/0.4934, allocations: 306.8 kB / 396.6 MB, free: 7.578 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.4937, allocations: 149.6 kB / 396.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.496, allocations: 1.101 MB / 397.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.496, allocations: 0 / 397.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.4972, allocations: 0.7499 MB / 398.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.498, allocations: 122.8 kB / 398.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.5017, allocations: 2.049 MB / 400.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.5023, allocations: 0.9953 MB / 401.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.5025, allocations: 53.02 kB / 401.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5026, allocations: 3.812 kB / 401.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of Templates: time 0.02516/0.5277, allocations: 17.12 MB / 418.9 MB, free: 4.184 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.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.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.o] Error 1