Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001256/0.001255, allocations: 194 kB / 18.72 MB, free: 4.762 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.092/2.092, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.00128/0.00128, allocations: 51.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 46.62 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.0114/0.1597, allocations: 6.254 MB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007324/0.1671, allocations: 2.154 MB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.1692, allocations: 16 kB / 335.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.1722, allocations: 0.6846 MB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.1757, allocations: 0.723 MB / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1773, allocations: 463 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.1796, allocations: 1.125 MB / 338.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.1812, allocations: 0.6783 MB / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.1823, allocations: 422.3 kB / 339.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.1831, allocations: 0.5171 MB / 340.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1833, allocations: 72 kB / 340.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.1842, allocations: 215.9 kB / 340.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1844, allocations: 219.1 kB / 340.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.1851, allocations: 0.5129 MB / 341.3 MB, free: 6.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.1866, allocations: 1.095 MB / 342.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.1867, allocations: 4 kB / 342.4 MB, free: 5.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1867, allocations: 3.938 kB / 342.4 MB, free: 5.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.1867, allocations: 0 / 342.4 MB, free: 5.68 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004111/0.1908, allocations: 1.444 MB / 343.8 MB, free: 4.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.1909, allocations: 8.031 kB / 343.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.1938, allocations: 475.2 kB / 344.3 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1951, allocations: 0.5655 MB / 344.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.1952, allocations: 74.41 kB / 344.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.1953, allocations: 104.4 kB / 345 MB, free: 2.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.1976, allocations: 1.055 MB / 346.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.1976, allocations: 0 / 346.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1977, allocations: 48 kB / 346.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.1978, allocations: 28 kB / 346.2 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1998, allocations: 0.9135 MB / 347.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007281/0.2071, allocations: 3.75 MB / 350.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.2108, allocations: 2.49 MB / 353.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/0.2118, allocations: 471.4 kB / 353.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.2119, allocations: 97.73 kB / 353.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009527/0.2129, allocations: 496.9 kB / 354.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 7.504e-06/0.2129, allocations: 4 kB / 354.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004868/0.2178, allocations: 1.701 MB / 356.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.218, allocations: 200.9 kB / 356.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.2186, allocations: 477.9 kB / 356.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.2187, allocations: 41.7 kB / 356.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.2191, allocations: 435.3 kB / 357.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2194, allocations: 280 kB / 357.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.2197, allocations: 166.5 kB / 357.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.22, allocations: 382.7 kB / 358 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.2206, allocations: 273.9 kB / 358.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.2214, allocations: 0.5239 MB / 358.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2229, allocations: 0.8031 MB / 359.6 MB, free: 3.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2229, allocations: 4 kB / 359.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002562/0.2255, allocations: 1.076 MB / 360.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.2256, allocations: 4 kB / 360.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.2256, allocations: 8 kB / 360.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.2268, allocations: 261.8 kB / 360.9 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.2275, allocations: 167.7 kB / 361.1 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.235, allocations: 4.392 MB / 365.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.2361, allocations: 103.1 kB / 365.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.2363, allocations: 47.86 kB / 365.6 MB, free: 13.03 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00086/0.2372, allocations: 249.6 kB / 365.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.2374, allocations: 67.25 kB / 366 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.24, allocations: 0.9714 MB / 366.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.24, allocations: 16 kB / 366.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.24, allocations: 0 / 366.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.24, allocations: 7.922 kB / 366.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.2447, allocations: 1.947 MB / 368.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2447, allocations: 4 kB / 368.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.2452, allocations: 95.92 kB / 369 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009354/0.2462, allocations: 273.7 kB / 369.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/0.2463, allocations: 19.98 kB / 369.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/0.2535, allocations: 4.345 MB / 373.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2536, allocations: 0 / 373.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.258, allocations: 1.392 MB / 375 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.2587, allocations: 216 kB / 375.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.259, allocations: 20 kB / 375.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.2597, allocations: 39.97 kB / 375.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/0.2601, allocations: 68.89 kB / 375.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.2602, allocations: 27.98 kB / 375.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009414/0.2612, allocations: 322.9 kB / 375.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.41e-07/0.2612, allocations: 192 / 375.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001976/0.2632, allocations: 311.2 kB / 376 MB, free: 2.262 MB / 318.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,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * 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 (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005814/0.2638, allocations: 170.9 kB / 376.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.2672, allocations: 1.097 MB / 377.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.2672, allocations: 320 / 377.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.269, allocations: 0.7391 MB / 378 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.2701, allocations: 118.2 kB / 378.1 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2717/0.5419, allocations: 2.14 MB / 380.3 MB, free: 51.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.543, allocations: 1 MB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5433, allocations: 60.86 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5433, allocations: 0.6875 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of Templates: time 0.04209/0.5854, allocations: 17.53 MB / 398.8 MB, free: 43.92 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.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.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.o] Error 1