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.001682/0.001682, allocations: 90.08 kB / 17.95 MB, free: 5.648 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.001938/0.001938, allocations: 178.3 kB / 18.86 MB, free: 4.773 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.198/2.198, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005802/0.0005802, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1674, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.01264/0.1802, allocations: 5.775 MB / 335.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.1884, allocations: 2.115 MB / 337.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1902, allocations: 19.94 kB / 337.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.1921, allocations: 246.6 kB / 337.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.1965, allocations: 0.6958 MB / 338.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1986, allocations: 447.1 kB / 338.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.2016, allocations: 1.129 MB / 340 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/0.2052, allocations: 1.068 MB / 341.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.2064, allocations: 382.2 kB / 341.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.2081, allocations: 485.6 kB / 341.9 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.2085, allocations: 52 kB / 342 MB, free: 7.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.21, allocations: 199.9 kB / 342.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.2105, allocations: 179.1 kB / 342.4 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.2122, allocations: 0.499 MB / 342.9 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.2147, allocations: 1.075 MB / 343.9 MB, free: 5.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.2147, allocations: 8 kB / 343.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.2147, allocations: 3.938 kB / 343.9 MB, free: 5.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.706e-05/0.2148, allocations: 0 / 343.9 MB, free: 5.301 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.005874/0.2207, allocations: 1.265 MB / 345.2 MB, free: 3.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.2208, allocations: 8.031 kB / 345.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/0.2268, allocations: 475.2 kB / 345.7 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.2292, allocations: 0.5734 MB / 346.3 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2293, allocations: 74.41 kB / 346.3 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005281/0.2299, allocations: 104.4 kB / 346.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.2339, allocations: 1.071 MB / 347.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/0.234, allocations: 0 / 347.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.2342, allocations: 44 kB / 347.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.2343, allocations: 28 kB / 347.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.2376, allocations: 0.937 MB / 348.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.2485, allocations: 3.781 MB / 352.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.2532, allocations: 2.498 MB / 354.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.2548, allocations: 491.4 kB / 355.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.255, allocations: 89.77 kB / 355.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.2566, allocations: 0.4969 MB / 355.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 6.042e-06/0.2566, allocations: 0 / 355.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.007935/0.2646, allocations: 1.752 MB / 357.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.2648, allocations: 192.9 kB / 357.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2659, allocations: 474 kB / 358.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.266, allocations: 41.7 kB / 358.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.2667, allocations: 439.3 kB / 358.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.2671, allocations: 279.9 kB / 359 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2674, allocations: 77.67 kB / 359.1 MB, free: 5.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.2677, allocations: 378.7 kB / 359.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.2686, allocations: 289.9 kB / 359.7 MB, free: 4.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2697, allocations: 0.5317 MB / 360.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.2721, allocations: 0.8265 MB / 361.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2722, allocations: 0 / 361.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003968/0.2762, allocations: 1.099 MB / 362.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.2762, allocations: 12.03 kB / 362.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.2763, allocations: 8 kB / 362.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.2778, allocations: 265.5 kB / 362.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.2789, allocations: 171.7 kB / 362.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/0.2875, allocations: 4.4 MB / 367 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2888, allocations: 111.2 kB / 367.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.289, allocations: 40.12 kB / 367.2 MB, free: 12.69 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.0008447/0.2898, allocations: 261.5 kB / 367.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.2901, allocations: 75.09 kB / 367.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.2935, allocations: 0.9948 MB / 368.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.2936, allocations: 8 kB / 368.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2936, allocations: 0 / 368.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.2936, allocations: 15.91 kB / 368.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.2995, allocations: 1.963 MB / 370.5 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2995, allocations: 0 / 370.5 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.3003, allocations: 107.9 kB / 370.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.3017, allocations: 269.4 kB / 370.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/0.3018, allocations: 12 kB / 370.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007446/0.3093, allocations: 4.361 MB / 375.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3093, allocations: 0 / 375.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.3122, allocations: 1.427 MB / 376.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.3126, allocations: 220 kB / 376.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.3128, allocations: 20 kB / 376.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.3133, allocations: 47.97 kB / 376.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.3135, allocations: 68.89 kB / 377 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.3136, allocations: 31.98 kB / 377 MB, free: 2.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.3142, allocations: 318.9 kB / 377.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3142, allocations: 0 / 377.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001315/0.3155, allocations: 311.1 kB / 377.7 MB, free: 1.805 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.0003638/0.3159, allocations: 159.3 kB / 377.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.3185, allocations: 1.128 MB / 378.9 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.3185, allocations: 3.984 kB / 378.9 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1993/0.5178, allocations: 0.7477 MB / 379.7 MB, free: 51.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5189, allocations: 115.9 kB / 379.8 MB, free: 51.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.523, allocations: 2.198 MB / 382 MB, free: 50.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.5239, allocations: 1.001 MB / 383 MB, free: 49.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.5241, allocations: 58.69 kB / 383.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5241, allocations: 0 / 383.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of Templates: time 0.02532/0.5495, allocations: 17.41 MB / 400.5 MB, free: 42.5 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