Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 178.6 kB / 15.43 MB, free: 5.77 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.422/1.422, allocations: 225.7 MB / 241.9 MB, free: 424 kB / 186.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.0007735/0.0007736, allocations: 92.41 kB / 293.1 MB, free: 12.93 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.02524/0.02524, allocations: 5.517 MB / 349.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004362, allocations: 8.156 kB / 415.4 MB, free: 88.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 51.62 MB / 467 MB, free: 42.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004916/0.1065, allocations: 3.821 MB / 470.9 MB, free: 38.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1094, allocations: 1.568 MB / 472.4 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.11, allocations: 15.88 kB / 472.4 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.1115, allocations: 355.1 kB / 472.8 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007736/0.1123, allocations: 209.7 kB / 473 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.1128, allocations: 196.2 kB / 473.2 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.1336, allocations: 23.7 MB / 496.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.1465, allocations: 7.212 MB / 0.4923 GB, free: 4.934 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.157, allocations: 6.539 MB / 0.4987 GB, free: 14.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/0.1747, allocations: 8.263 MB / 0.5067 GB, free: 6.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00572/0.1804, allocations: 0.9023 MB / 0.5076 GB, free: 5.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007075/0.1875, allocations: 0.914 MB / 0.5085 GB, free: 4.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006792/0.1944, allocations: 2.991 MB / 0.5114 GB, free: 1.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02001/0.2144, allocations: 7.369 MB / 0.5186 GB, free: 9.832 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4703/0.6847, allocations: 26.77 MB / 0.5448 GB, free: 32.12 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.6848, allocations: 0 / 0.5448 GB, free: 32.12 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6848, allocations: 3.938 kB / 0.5448 GB, free: 32.12 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0008532/0.6856, allocations: 0 / 0.5448 GB, free: 32.12 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.08486/0.7705, allocations: 28.13 MB / 0.5722 GB, free: 17.21 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7706, allocations: 9.781 kB / 0.5723 GB, free: 17.21 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.7813, allocations: 1.453 MB / 0.5737 GB, free: 16.45 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05423/0.8356, allocations: 21.06 MB / 0.5942 GB, free: 1.262 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007424/0.8363, allocations: 0.6259 MB / 0.5949 GB, free: 0.9023 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005543/0.8419, allocations: 0.8216 MB / 0.5957 GB, free: 360 kB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04445/0.8864, allocations: 16.88 MB / 0.6121 GB, free: 2.836 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002625/0.8867, allocations: 26.25 kB / 0.6122 GB, free: 2.824 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003438/0.8901, allocations: 348 kB / 0.6125 GB, free: 2.484 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.8903, allocations: 212 kB / 0.6127 GB, free: 2.277 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04889/0.9392, allocations: 20.21 MB / 0.6324 GB, free: 14.16 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/1.077, allocations: 61.72 MB / 0.6927 GB, free: 0.5078 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2387/1.316, allocations: 24.97 MB / 0.7171 GB, free: 143.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01472/1.33, allocations: 8.681 MB / 0.7256 GB, free: 141.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/1.331, allocations: 69.92 kB / 0.7257 GB, free: 141.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.331, allocations: 77.61 kB / 0.7257 GB, free: 141.4 MB / 474.8 MB Notification: Performance of pre-optimization done (n=448): time 6.663e-06/1.331, allocations: 3.969 kB / 0.7257 GB, free: 141.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=448): time 0.1305/1.461, allocations: 51.51 MB / 0.776 GB, free: 108.7 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.461, allocations: 98.92 kB / 0.7761 GB, free: 108.6 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03017/1.492, allocations: 16.2 MB / 0.7919 GB, free: 92.65 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002027/1.494, allocations: 113.6 kB / 0.792 GB, free: 92.54 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005969/1.5, allocations: 6.093 MB / 0.798 GB, free: 87.87 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003045/1.503, allocations: 1.573 MB / 0.7995 GB, free: 86.47 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.505, allocations: 181.3 kB / 0.7997 GB, free: 86.29 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004034/1.505, allocations: 0.666 MB / 0.8004 GB, free: 85.62 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01565/1.521, allocations: 9.19 MB / 0.8093 GB, free: 76.41 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/1.538, allocations: 10.37 MB / 0.8195 GB, free: 65.7 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02888/1.567, allocations: 16.96 MB / 0.836 GB, free: 48.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.274e-05/1.567, allocations: 8 kB / 0.836 GB, free: 48.33 MB / 474.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3456/1.913, allocations: 54.53 MB / 0.8893 GB, free: 126.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.913, allocations: 17.59 kB / 0.8893 GB, free: 126.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/1.913, allocations: 23.56 kB / 0.8893 GB, free: 126.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05258/1.966, allocations: 30.5 MB / 0.9191 GB, free: 123.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007547/1.973, allocations: 1.562 MB / 0.9206 GB, free: 123.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6097/2.583, allocations: 225.3 MB / 1.141 GB, free: 99.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02223/2.605, allocations: 3.375 MB / 1.144 GB, free: 96.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004019/2.609, allocations: 379.7 kB / 1.144 GB, free: 95.95 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01189/2.621, allocations: 4.521 MB / 1.149 GB, free: 91.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004214/2.625, allocations: 1.162 MB / 1.15 GB, free: 90.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1173/2.743, allocations: 45.81 MB / 1.195 GB, free: 45.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/2.743, allocations: 48 kB / 1.195 GB, free: 45.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.743, allocations: 4 kB / 1.195 GB, free: 45.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001461/2.743, allocations: 19.92 kB / 1.195 GB, free: 45.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4042/3.147, allocations: 62.99 MB / 1.256 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/3.147, allocations: 3.938 kB / 1.256 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/3.149, allocations: 446.8 kB / 1.257 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03248/3.182, allocations: 20.41 MB / 1.277 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00216/3.184, allocations: 110.9 kB / 1.277 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3444/3.528, allocations: 143.5 MB / 1.417 GB, free: 17.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/3.528, allocations: 0 / 1.417 GB, free: 17.14 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.38/3.908, allocations: 44.85 MB / 1.461 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01186/3.92, allocations: 3.012 MB / 1.464 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00729/3.928, allocations: 73.28 kB / 1.464 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01515/3.943, allocations: 2.068 MB / 1.466 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/3.944, allocations: 280.6 kB / 1.466 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001706/3.946, allocations: 144.8 kB / 1.466 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02645/3.972, allocations: 11.17 MB / 1.477 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.31e-07/3.972, allocations: 0 / 1.477 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02677/3.999, allocations: 4.071 MB / 1.481 GB, free: 131.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00226/4.001, allocations: 190.2 kB / 1.481 GB, free: 131.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.08636/4.088, allocations: 40.65 MB / 1.521 GB, free: 94.77 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/4.088, allocations: 4 kB / 1.521 GB, free: 94.77 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.06347/4.151, allocations: 23.71 MB / 1.544 GB, free: 71.04 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02137/4.173, allocations: 2.982 MB / 1.547 GB, free: 68.15 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06217/4.235, allocations: 35.74 MB / 1.582 GB, free: 32.44 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/4.247, allocations: 8.69 MB / 1.59 GB, free: 23.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01202/4.259, allocations: 3.64 MB / 1.594 GB, free: 20.08 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003022/4.262, allocations: 0.636 MB / 1.594 GB, free: 19.45 MB / 0.4949 GB Notification: Performance of SimCode: time 7.22e-07/4.262, allocations: 0 / 1.594 GB, free: 19.45 MB / 0.4949 GB Notification: Performance of Templates: time 0.8617/5.124, allocations: 278.4 MB / 1.866 GB, free: 116.2 MB / 0.5105 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)