Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 179.8 kB / 15.43 MB, free: 5.875 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.349/1.349, allocations: 225.7 MB / 241.9 MB, free: 392 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.0007609/0.0007609, allocations: 91.7 kB / 293.1 MB, free: 12.89 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.02472/0.02472, allocations: 5.51 MB / 349.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8.531 kB / 415.4 MB, free: 88.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07939/0.07974, allocations: 51.62 MB / 467 MB, free: 42.17 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.002536/0.08233, allocations: 2.916 MB / 470 MB, free: 39.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.08356, allocations: 1.264 MB / 471.2 MB, free: 37.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.08373, allocations: 4 kB / 471.2 MB, free: 37.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.08417, allocations: 211 kB / 471.4 MB, free: 37.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.0844, allocations: 131.1 kB / 471.6 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.08454, allocations: 99.89 kB / 471.7 MB, free: 37.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.08486, allocations: 0.5253 MB / 472.2 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.08505, allocations: 108 kB / 472.3 MB, free: 36.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.0852, allocations: 179.1 kB / 472.5 MB, free: 36.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.08539, allocations: 219 kB / 472.7 MB, free: 36.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.08544, allocations: 24 kB / 472.7 MB, free: 36.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.08553, allocations: 31.98 kB / 472.7 MB, free: 36.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.08559, allocations: 75.61 kB / 472.8 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.08573, allocations: 224.6 kB / 473 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.08603, allocations: 490.1 kB / 473.5 MB, free: 35.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.08604, allocations: 4 kB / 473.5 MB, free: 35.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08605, allocations: 0 / 473.5 MB, free: 35.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.08606, allocations: 0 / 473.5 MB, free: 35.63 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001489/0.08755, allocations: 0.7559 MB / 474.3 MB, free: 34.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.08759, allocations: 8.031 kB / 474.3 MB, free: 34.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.08766, allocations: 48.38 kB / 474.3 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.08851, allocations: 0.4884 MB / 474.8 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.08854, allocations: 24.62 kB / 474.8 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.08858, allocations: 24 kB / 474.9 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.08908, allocations: 305.1 kB / 475.2 MB, free: 33.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.0891, allocations: 3.938 kB / 475.2 MB, free: 33.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.08913, allocations: 8 kB / 475.2 MB, free: 33.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.08914, allocations: 8 kB / 475.2 MB, free: 33.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.08967, allocations: 269.5 kB / 475.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.09138, allocations: 1.286 MB / 476.7 MB, free: 32.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.09182, allocations: 287.5 kB / 477 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.09209, allocations: 124.8 kB / 477.1 MB, free: 31.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.09212, allocations: 4 kB / 477.1 MB, free: 31.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.09214, allocations: 34.56 kB / 477.2 MB, free: 31.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.09214, allocations: 4 kB / 477.2 MB, free: 31.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.003234/0.09538, allocations: 0.8463 MB / 478 MB, free: 30.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.09541, allocations: 51.41 kB / 478.1 MB, free: 30.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.09573, allocations: 389.5 kB / 478.4 MB, free: 30.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.09576, allocations: 25.7 kB / 478.5 MB, free: 30.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.09585, allocations: 211.9 kB / 478.7 MB, free: 30.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.09588, allocations: 43.39 kB / 478.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.0959, allocations: 4 kB / 478.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.09595, allocations: 346.8 kB / 479.1 MB, free: 29.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.09619, allocations: 107.9 kB / 479.2 MB, free: 29.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.09642, allocations: 149.1 kB / 479.3 MB, free: 29.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.09684, allocations: 245.6 kB / 479.6 MB, free: 29.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09685, allocations: 0 / 479.6 MB, free: 29.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002008/0.09886, allocations: 0.6115 MB / 480.2 MB, free: 28.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.09889, allocations: 6.812 kB / 480.2 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0989, allocations: 4 kB / 480.2 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/0.09964, allocations: 249.6 kB / 480.4 MB, free: 28.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.09984, allocations: 47.91 kB / 480.5 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.1039, allocations: 3.555 MB / 484 MB, free: 24.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.1042, allocations: 55.78 kB / 484.1 MB, free: 24.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1042, allocations: 16.06 kB / 484.1 MB, free: 24.45 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1044, allocations: 148.2 kB / 484.2 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1044, allocations: 35.61 kB / 484.3 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.1045, allocations: 35.12 kB / 484.3 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1045, allocations: 3.938 kB / 484.3 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.1045, allocations: 4 kB / 484.3 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1045, allocations: 0 / 484.3 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.1064, allocations: 0.9095 MB / 485.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1065, allocations: 3.938 kB / 485.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1065, allocations: 19.98 kB / 485.2 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.1068, allocations: 176.8 kB / 485.4 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1069, allocations: 0 / 485.4 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.1095, allocations: 1.948 MB / 487.4 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1095, allocations: 0 / 487.4 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.111, allocations: 0.5551 MB / 487.9 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1111, allocations: 128.7 kB / 488 MB, free: 20.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.1112, allocations: 4 kB / 488.1 MB, free: 20.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1114, allocations: 27.97 kB / 488.1 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1115, allocations: 15.92 kB / 488.1 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1115, allocations: 4 kB / 488.1 MB, free: 20.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1117, allocations: 267.1 kB / 488.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1117, allocations: 3.938 kB / 488.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.1121, allocations: 99.84 kB / 488.5 MB, free: 19.83 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 (9): * 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: 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.141e-05/0.1122, allocations: 103.2 kB / 488.6 MB, free: 19.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007637/0.1129, allocations: 498 kB / 489 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.113, allocations: 4.188 kB / 489.1 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.1132, allocations: 210.6 kB / 489.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.1137, allocations: 73.72 kB / 489.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.1146, allocations: 0.7466 MB / 490.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.1147, allocations: 0.7797 MB / 490.9 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1149, allocations: 38.95 kB / 490.9 MB, free: 17.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.115, allocations: 23.44 kB / 490.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.115, allocations: 0 / 490.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of Templates: time 0.008099/0.1231, allocations: 5.76 MB / 496.7 MB, free: 11.55 MB / 330.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)