Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 177 kB / 15.43 MB, free: 6.211 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.335/1.335, allocations: 225.7 MB / 241.9 MB, free: 188 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.0007408/0.0007408, allocations: 92.31 kB / 293.1 MB, free: 12.84 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.02513/0.02513, allocations: 5.523 MB / 349.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 7.062 kB / 415.4 MB, free: 88.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 51.63 MB / 467 MB, free: 42.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.00495/0.1061, allocations: 5.531 MB / 472.6 MB, free: 36.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.11, allocations: 3.41 MB / 476 MB, free: 32.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.1106, allocations: 16 kB / 476 MB, free: 32.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.1115, allocations: 410.1 kB / 476.4 MB, free: 32.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.1129, allocations: 1.212 MB / 477.6 MB, free: 31.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1135, allocations: 396.6 kB / 478 MB, free: 30.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007284/0.1142, allocations: 1.071 MB / 479.1 MB, free: 29.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.1161, allocations: 2.04 MB / 481.1 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.1165, allocations: 378.3 kB / 481.5 MB, free: 27.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.1169, allocations: 493.7 kB / 482 MB, free: 26.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.117, allocations: 52 kB / 482 MB, free: 26.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.1174, allocations: 199.8 kB / 482.2 MB, free: 26.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1175, allocations: 171.1 kB / 482.4 MB, free: 26.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.1178, allocations: 487.2 kB / 482.9 MB, free: 25.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.1187, allocations: 1.37 MB / 484.2 MB, free: 24.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1188, allocations: 4 kB / 484.2 MB, free: 24.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1188, allocations: 0 / 484.2 MB, free: 24.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1188, allocations: 0 / 484.2 MB, free: 24.26 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002883/0.1217, allocations: 1.358 MB / 485.6 MB, free: 22.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1217, allocations: 12.03 kB / 485.6 MB, free: 22.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.1237, allocations: 359.3 kB / 485.9 MB, free: 22.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1249, allocations: 0.6866 MB / 486.6 MB, free: 21.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.1249, allocations: 74.12 kB / 486.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.1251, allocations: 92 kB / 486.8 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1266, allocations: 0.997 MB / 487.8 MB, free: 20.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.1266, allocations: 0 / 487.8 MB, free: 20.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.1267, allocations: 44 kB / 487.8 MB, free: 20.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1267, allocations: 24 kB / 487.9 MB, free: 20.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1281, allocations: 0.8471 MB / 488.7 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.1327, allocations: 3.895 MB / 492.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1343, allocations: 1.487 MB / 494.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.1348, allocations: 254 kB / 494.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.62e-05/0.1349, allocations: 93.09 kB / 494.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.1354, allocations: 329.8 kB / 494.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.1354, allocations: 0 / 494.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002484/0.1379, allocations: 1.003 MB / 495.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.138, allocations: 136.5 kB / 495.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.1385, allocations: 0.4902 MB / 496.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1385, allocations: 37.7 kB / 496.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.1387, allocations: 466.1 kB / 496.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.1388, allocations: 161.8 kB / 497 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1389, allocations: 12 kB / 497 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.139, allocations: 366.8 kB / 497.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.1394, allocations: 245.8 kB / 497.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.1399, allocations: 440.6 kB / 498.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.1408, allocations: 0.709 MB / 498.8 MB, free: 8.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1409, allocations: 4 kB / 498.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001618/0.1425, allocations: 0.8601 MB / 499.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1425, allocations: 40.52 kB / 499.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1426, allocations: 4 kB / 499.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.143, allocations: 92.95 kB / 499.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.1437, allocations: 171.7 kB / 499.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1449, allocations: 1.475 MB / 0.4897 GB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.1456, allocations: 95.2 kB / 0.4898 GB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.1457, allocations: 31.98 kB / 0.4898 GB, free: 5.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0004593/0.1461, allocations: 275.3 kB / 0.49 GB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.1462, allocations: 55.34 kB / 0.4901 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1475, allocations: 0.7163 MB / 0.4908 GB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1476, allocations: 4 kB / 0.4908 GB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1476, allocations: 4 kB / 0.4908 GB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1476, allocations: 4 kB / 0.4908 GB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.1513, allocations: 1.76 MB / 0.4925 GB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1513, allocations: 4 kB / 0.4925 GB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1516, allocations: 75.91 kB / 0.4926 GB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/0.1521, allocations: 262.4 kB / 0.4929 GB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.1522, allocations: 8 kB / 0.4929 GB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008675/0.153, allocations: 0.8428 MB / 0.4937 GB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1531, allocations: 4.031 kB / 0.4937 GB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.1566, allocations: 1.219 MB / 0.4949 GB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.157, allocations: 184.3 kB / 0.4951 GB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.1571, allocations: 19.94 kB / 0.4951 GB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.1576, allocations: 44.03 kB / 0.4951 GB, free: 256 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.1577, allocations: 27.95 kB / 0.4951 GB, free: 228 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.1577, allocations: 16 kB / 0.4952 GB, free: 212 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004662/0.1582, allocations: 342.8 kB / 0.4955 GB, free: 15.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1582, allocations: 0 / 0.4955 GB, free: 15.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008769/0.1591, allocations: 231.1 kB / 0.4957 GB, free: 15.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002955/0.1594, allocations: 161.2 kB / 0.4959 GB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.1612, allocations: 0.7667 MB / 0.4966 GB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1612, allocations: 0 / 0.4966 GB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.162, allocations: 341.4 kB / 0.4969 GB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.1626, allocations: 97.89 kB / 0.497 GB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.1652, allocations: 1.799 MB / 0.4988 GB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.1657, allocations: 0.9411 MB / 0.4997 GB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.1661, allocations: 92.89 kB / 0.4998 GB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1662, allocations: 51.42 kB / 0.4998 GB, free: 11.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.844e-06/0.1662, allocations: 0 / 0.4998 GB, free: 11.31 MB / 346.7 MB Notification: Performance of Templates: time 0.01365/0.1799, allocations: 7.484 MB / 0.5072 GB, free: 3.859 MB / 346.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)