Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009963, allocations: 178.7 kB / 15.43 MB, free: 5.707 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.357/1.357, allocations: 225.7 MB / 241.9 MB, free: 380 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.0007732/0.0007733, allocations: 94.31 kB / 293.1 MB, free: 12.9 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.02481/0.02481, allocations: 5.513 MB / 349.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.000499, allocations: 7.781 kB / 415.4 MB, free: 88.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 51.63 MB / 467.1 MB, free: 42.18 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004232/0.1337, allocations: 2.975 MB / 470 MB, free: 39.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1362, allocations: 1.268 MB / 471.3 MB, free: 37.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.1366, allocations: 11.94 kB / 471.3 MB, free: 37.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.1375, allocations: 211 kB / 471.5 MB, free: 37.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006384/0.1382, allocations: 131.1 kB / 471.6 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1385, allocations: 99.89 kB / 471.7 MB, free: 37.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008251/0.1394, allocations: 0.5447 MB / 472.3 MB, free: 36.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1397, allocations: 105.4 kB / 472.4 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1402, allocations: 187.1 kB / 472.6 MB, free: 36.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.1407, allocations: 223 kB / 472.8 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.1408, allocations: 24 kB / 472.8 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.141, allocations: 35.98 kB / 472.8 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.1411, allocations: 79.59 kB / 472.9 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.1414, allocations: 228.5 kB / 473.1 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.1421, allocations: 0.4903 MB / 473.6 MB, free: 35.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1421, allocations: 0 / 473.6 MB, free: 35.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1421, allocations: 0 / 473.6 MB, free: 35.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.1421, allocations: 0 / 473.6 MB, free: 35.52 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00265/0.1448, allocations: 0.7675 MB / 474.4 MB, free: 34.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1448, allocations: 12.03 kB / 474.4 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.145, allocations: 44.38 kB / 474.5 MB, free: 34.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.1466, allocations: 0.5001 MB / 475 MB, free: 34.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1467, allocations: 20.69 kB / 475 MB, free: 34.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.1468, allocations: 27.94 kB / 475 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.1477, allocations: 329.4 kB / 475.3 MB, free: 33.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1477, allocations: 0 / 475.3 MB, free: 33.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.1478, allocations: 12 kB / 475.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1478, allocations: 4 kB / 475.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1489, allocations: 294 kB / 475.6 MB, free: 33.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.152, allocations: 1.351 MB / 477 MB, free: 32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.153, allocations: 311.6 kB / 477.3 MB, free: 31.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.1535, allocations: 148.8 kB / 477.4 MB, free: 31.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1536, allocations: 0 / 477.4 MB, free: 31.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1536, allocations: 38.56 kB / 477.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.835e-06/0.1536, allocations: 0 / 477.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.005096/0.1587, allocations: 0.8151 MB / 478.3 MB, free: 30.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1588, allocations: 59.41 kB / 478.3 MB, free: 30.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.1594, allocations: 381.6 kB / 478.7 MB, free: 30.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1594, allocations: 29.7 kB / 478.7 MB, free: 30.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1596, allocations: 219.8 kB / 479 MB, free: 29.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.1596, allocations: 51.2 kB / 479 MB, free: 29.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.1597, allocations: 4 kB / 479 MB, free: 29.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.1598, allocations: 346.8 kB / 479.4 MB, free: 29.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.1602, allocations: 123.9 kB / 479.5 MB, free: 29.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.1607, allocations: 161.1 kB / 479.6 MB, free: 29.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.1616, allocations: 262.1 kB / 479.9 MB, free: 28.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1616, allocations: 0 / 479.9 MB, free: 28.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00383/0.1655, allocations: 0.6755 MB / 480.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1655, allocations: 10.81 kB / 480.6 MB, free: 28.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1655, allocations: 0 / 480.6 MB, free: 28.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.1668, allocations: 265.6 kB / 480.8 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.1672, allocations: 47.91 kB / 480.9 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/0.175, allocations: 3.645 MB / 484.5 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.1756, allocations: 51.66 kB / 484.6 MB, free: 23.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.1757, allocations: 4 kB / 484.6 MB, free: 23.99 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 (26): * Single equations (assignments): 24 * 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.0002091/0.1759, allocations: 153.8 kB / 484.7 MB, free: 23.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.176, allocations: 31.62 kB / 484.8 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.1761, allocations: 47.17 kB / 484.8 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1761, allocations: 0 / 484.8 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1761, allocations: 0 / 484.8 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1761, allocations: 4 kB / 484.8 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.1799, allocations: 0.9758 MB / 485.8 MB, free: 22.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.18, allocations: 0 / 485.8 MB, free: 22.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1801, allocations: 31.92 kB / 485.8 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/0.1808, allocations: 184.8 kB / 486 MB, free: 22.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1808, allocations: 0 / 486 MB, free: 22.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/0.1863, allocations: 2.034 MB / 488 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1863, allocations: 3.984 kB / 488 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.1894, allocations: 0.6137 MB / 488.6 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1896, allocations: 136.5 kB / 488.8 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.1897, allocations: 7.938 kB / 488.8 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.1902, allocations: 27.97 kB / 488.8 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.1903, allocations: 15.92 kB / 488.8 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1903, allocations: 4 kB / 488.8 MB, free: 19.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004081/0.1907, allocations: 271.2 kB / 489.1 MB, free: 19.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1907, allocations: 0 / 489.1 MB, free: 19.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007672/0.1915, allocations: 95.84 kB / 489.2 MB, free: 19.11 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 (13): * Single equations (assignments): 12 * 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 0.0001587/0.1917, allocations: 107.2 kB / 489.3 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.1932, allocations: 0.5177 MB / 489.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1932, allocations: 0 / 489.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.1937, allocations: 222.7 kB / 490 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.1946, allocations: 81.39 kB / 490.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1963, allocations: 0.7898 MB / 490.9 MB, free: 17.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1966, allocations: 0.7836 MB / 491.7 MB, free: 16.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.1969, allocations: 39.27 kB / 491.7 MB, free: 16.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.197, allocations: 27.44 kB / 491.8 MB, free: 16.45 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1971, allocations: 0 / 491.8 MB, free: 16.45 MB / 330.7 MB Notification: Performance of Templates: time 0.01523/0.2123, allocations: 6.105 MB / 497.9 MB, free: 10.39 MB / 330.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)