Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001464, allocations: 176.1 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.7 MB / 241.9 MB, free: 14.68 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 93.72 kB / 293 MB, free: 4.852 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02422/0.02422, allocations: 5.524 MB / 349.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 415.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 51.61 MB / 467 MB, free: 72.38 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.006626/0.2135, allocations: 8.82 MB / 475.9 MB, free: 63.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.2186, allocations: 4.494 MB / 480.4 MB, free: 58.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.2198, allocations: 63.81 kB / 480.4 MB, free: 58.69 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.2213, allocations: 0.7 MB / 481.1 MB, free: 57.99 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.2239, allocations: 1.271 MB / 482.4 MB, free: 56.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.2257, allocations: 1.476 MB / 483.9 MB, free: 55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.2289, allocations: 4.059 MB / 487.9 MB, free: 50.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.242, allocations: 12.8 MB / 0.489 GB, free: 37.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.2444, allocations: 1.662 MB / 0.4906 GB, free: 35.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.2471, allocations: 1.976 MB / 0.4925 GB, free: 33.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.2477, allocations: 276 kB / 0.4928 GB, free: 33.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.2493, allocations: 0.5232 MB / 0.4933 GB, free: 32.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.2499, allocations: 0.7784 MB / 0.4941 GB, free: 32.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.2518, allocations: 2.023 MB / 0.4961 GB, free: 30.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005586/0.2574, allocations: 8.523 MB / 0.5044 GB, free: 21.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2574, allocations: 0 / 0.5044 GB, free: 21.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2574, allocations: 0 / 0.5044 GB, free: 21.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001891/0.2576, allocations: 0 / 0.5044 GB, free: 21.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.0101/0.2677, allocations: 4.393 MB / 0.5087 GB, free: 17.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2678, allocations: 8.031 kB / 0.5087 GB, free: 17.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008651/0.2764, allocations: 1.592 MB / 0.5102 GB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004815/0.2813, allocations: 2.869 MB / 0.513 GB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.2816, allocations: 320.5 kB / 0.5133 GB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.2828, allocations: 415.9 kB / 0.5137 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.2942, allocations: 6.66 MB / 0.5202 GB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.2943, allocations: 4 kB / 0.5202 GB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.2947, allocations: 180 kB / 0.5204 GB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.2949, allocations: 207.9 kB / 0.5206 GB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009009/0.3039, allocations: 5.625 MB / 0.5261 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.3357, allocations: 22.79 MB / 0.5484 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/0.3409, allocations: 4.433 MB / 0.5527 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.3422, allocations: 0.8825 MB / 0.5536 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.3424, allocations: 110.1 kB / 0.5537 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.3436, allocations: 0.8409 MB / 0.5545 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 2.906e-06/0.3436, allocations: 4 kB / 0.5545 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.1843/0.5279, allocations: 2.4 MB / 0.5568 GB, free: 86.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.528, allocations: 146 kB / 0.557 GB, free: 85.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.5314, allocations: 1.806 MB / 0.5587 GB, free: 85.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.5315, allocations: 47.02 kB / 0.5588 GB, free: 85.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.5333, allocations: 1.956 MB / 0.5607 GB, free: 84.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/0.5338, allocations: 412.1 kB / 0.5611 GB, free: 83.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.534, allocations: 51.19 kB / 0.5611 GB, free: 83.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5342, allocations: 410 kB / 0.5615 GB, free: 83.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.536, allocations: 1.122 MB / 0.5626 GB, free: 82.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.5381, allocations: 2.226 MB / 0.5648 GB, free: 81.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.5417, allocations: 3.447 MB / 0.5682 GB, free: 78.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/0.5418, allocations: 11.75 kB / 0.5682 GB, free: 78.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.006272/0.548, allocations: 3.564 MB / 0.5716 GB, free: 77.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.5482, allocations: 47.33 kB / 0.5717 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.5483, allocations: 36.97 kB / 0.5717 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.5489, allocations: 125.9 kB / 0.5718 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.5511, allocations: 0.6169 MB / 0.5725 GB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.5524, allocations: 1.529 MB / 0.5739 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.5545, allocations: 370.2 kB / 0.5743 GB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.5548, allocations: 133.2 kB / 0.5744 GB, free: 75.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002258/0.5571, allocations: 1.722 MB / 0.5761 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.5573, allocations: 158.4 kB / 0.5763 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5602, allocations: 1.886 MB / 0.5781 GB, free: 73.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002064/0.5623, allocations: 1.532 MB / 0.5796 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5623, allocations: 0 / 0.5796 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5624, allocations: 3.938 kB / 0.5796 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009084/0.5714, allocations: 5.32 MB / 0.5848 GB, free: 67.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5715, allocations: 4 kB / 0.5848 GB, free: 67.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.5723, allocations: 215.8 kB / 0.585 GB, free: 67.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.5729, allocations: 270.3 kB / 0.5853 GB, free: 66.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.573, allocations: 31.98 kB / 0.5853 GB, free: 66.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008342/0.5738, allocations: 0.8335 MB / 0.5861 GB, free: 66.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5738, allocations: 7.984 kB / 0.5861 GB, free: 66.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/0.5787, allocations: 2.91 MB / 0.589 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.5796, allocations: 390.7 kB / 0.5893 GB, free: 62.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.5799, allocations: 24 kB / 0.5894 GB, free: 62.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.5809, allocations: 95.97 kB / 0.5894 GB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.581, allocations: 72.83 kB / 0.5895 GB, free: 62.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.5811, allocations: 32 kB / 0.5895 GB, free: 62.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001719/0.5829, allocations: 1.229 MB / 0.5907 GB, free: 61.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5829, allocations: 0 / 0.5907 GB, free: 61.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002423/0.5853, allocations: 0.9481 MB / 0.5917 GB, free: 60.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.5857, allocations: 206.8 kB / 0.5919 GB, free: 60.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003405/0.5891, allocations: 2.553 MB / 0.5944 GB, free: 57.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5891, allocations: 64 / 0.5944 GB, free: 57.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5901, allocations: 0.8376 MB / 0.5952 GB, free: 56.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.592, allocations: 349.1 kB / 0.5955 GB, free: 56.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6021, allocations: 8.276 MB / 0.6036 GB, free: 48.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/0.6042, allocations: 3.026 MB / 0.6065 GB, free: 44.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002163/0.6064, allocations: 0.8552 MB / 0.6074 GB, free: 44.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.6067, allocations: 131.4 kB / 0.6075 GB, free: 43.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6068, allocations: 0 / 0.6075 GB, free: 43.97 MB / 378.7 MB Notification: Performance of Templates: time 0.04014/0.6469, allocations: 23.73 MB / 0.6307 GB, free: 20.39 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1)