Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 175.5 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.322/1.322, allocations: 225.7 MB / 241.9 MB, free: 400 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.0007295/0.0007297, allocations: 95.12 kB / 293.1 MB, free: 12.92 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.02436/0.02436, allocations: 5.528 MB / 349.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 8.312 kB / 415.4 MB, free: 88.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08367, allocations: 51.63 MB / 467 MB, free: 42.21 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.002431/0.08614, allocations: 2.827 MB / 469.9 MB, free: 39.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.08741, allocations: 1.233 MB / 471.1 MB, free: 38.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.08757, allocations: 4 kB / 471.1 MB, free: 38.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.08802, allocations: 218.9 kB / 471.3 MB, free: 37.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.08825, allocations: 111.2 kB / 471.4 MB, free: 37.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.08839, allocations: 99.89 kB / 471.5 MB, free: 37.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.08871, allocations: 498.1 kB / 472 MB, free: 37.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.08888, allocations: 104 kB / 472.1 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.08902, allocations: 171.1 kB / 472.3 MB, free: 36.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.08921, allocations: 207 kB / 472.5 MB, free: 36.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.08926, allocations: 28 kB / 472.5 MB, free: 36.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.08934, allocations: 31.98 kB / 472.5 MB, free: 36.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.0894, allocations: 67.67 kB / 472.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.08953, allocations: 208.7 kB / 472.8 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.08983, allocations: 462.3 kB / 473.3 MB, free: 35.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08984, allocations: 3.938 kB / 473.3 MB, free: 35.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08985, allocations: 0 / 473.3 MB, free: 35.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.08986, allocations: 0 / 473.3 MB, free: 35.92 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001523/0.09139, allocations: 0.7363 MB / 474 MB, free: 35.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.09143, allocations: 8.031 kB / 474 MB, free: 35.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.09153, allocations: 40.47 kB / 474.1 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.09254, allocations: 468.1 kB / 474.5 MB, free: 34.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.09258, allocations: 20.56 kB / 474.5 MB, free: 34.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.09263, allocations: 20 kB / 474.6 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.09323, allocations: 291.3 kB / 474.8 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.09325, allocations: 0 / 474.8 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.09329, allocations: 8 kB / 474.8 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.0933, allocations: 4 kB / 474.9 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.09399, allocations: 260.9 kB / 475.1 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.0962, allocations: 1.281 MB / 476.4 MB, free: 32.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.09666, allocations: 166.4 kB / 476.5 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.097, allocations: 116.8 kB / 476.7 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.09703, allocations: 4 kB / 476.7 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.09706, allocations: 34.56 kB / 476.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.09707, allocations: 0 / 476.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008558/0.09793, allocations: 285.5 kB / 477 MB, free: 32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.09796, allocations: 55.41 kB / 477 MB, free: 31.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.09839, allocations: 361.7 kB / 477.4 MB, free: 31.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.09842, allocations: 25.7 kB / 477.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.09855, allocations: 215.7 kB / 477.6 MB, free: 31.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.09858, allocations: 39.48 kB / 477.7 MB, free: 31.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.09861, allocations: 4 kB / 477.7 MB, free: 31.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.09869, allocations: 342.8 kB / 478 MB, free: 30.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.099, allocations: 99.94 kB / 478.1 MB, free: 30.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.09934, allocations: 148.6 kB / 478.2 MB, free: 30.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.0999, allocations: 225.5 kB / 478.5 MB, free: 30.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09991, allocations: 0 / 478.5 MB, free: 30.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001115/0.101, allocations: 361.9 kB / 478.8 MB, free: 30.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1011, allocations: 10.81 kB / 478.8 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1011, allocations: 4.094 kB / 478.8 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.1016, allocations: 84.7 kB / 478.9 MB, free: 30 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.102, allocations: 59.89 kB / 479 MB, free: 29.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1034, allocations: 1.456 MB / 480.4 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.1038, allocations: 39.77 kB / 480.5 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1039, allocations: 11.98 kB / 480.5 MB, free: 28.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001687/0.104, allocations: 145.7 kB / 480.6 MB, free: 28.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1041, allocations: 39.66 kB / 480.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.1042, allocations: 31.03 kB / 480.7 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1042, allocations: 0 / 480.7 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1042, allocations: 0 / 480.7 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1042, allocations: 4 kB / 480.7 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1052, allocations: 0.62 MB / 481.3 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1053, allocations: 3.938 kB / 481.3 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.1055, allocations: 47.94 kB / 481.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1055, allocations: 0 / 481.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1055, allocations: 0 / 481.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1055, allocations: 0 / 481.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1055, allocations: 0 / 481.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1061, allocations: 319.9 kB / 481.7 MB, free: 27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1062, allocations: 120.7 kB / 481.8 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1063, allocations: 0 / 481.8 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.1066, allocations: 23.98 kB / 481.8 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1066, allocations: 7.984 kB / 481.8 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1067, allocations: 4 kB / 481.8 MB, free: 26.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.1069, allocations: 255.2 kB / 482.1 MB, free: 26.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.107, allocations: 0 / 482.1 MB, free: 26.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000469/0.1074, allocations: 75.78 kB / 482.2 MB, free: 26.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.1076, allocations: 107.2 kB / 482.3 MB, free: 26.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.1084, allocations: 359.3 kB / 482.6 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1084, allocations: 4.188 kB / 482.6 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1087, allocations: 83.88 kB / 482.7 MB, free: 25.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.1094, allocations: 69.53 kB / 482.8 MB, free: 25.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1105, allocations: 0.6747 MB / 483.4 MB, free: 25.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.1107, allocations: 0.7719 MB / 484.2 MB, free: 24.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.1109, allocations: 50.92 kB / 484.3 MB, free: 24.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.111, allocations: 23.44 kB / 484.3 MB, free: 24.3 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.111, allocations: 0 / 484.3 MB, free: 24.3 MB / 330.7 MB Notification: Performance of Templates: time 0.008155/0.1192, allocations: 3.382 MB / 487.7 MB, free: 20.95 MB / 330.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)