Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 117.6 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02845/0.02845, allocations: 5.402 MB / 296.6 MB, free: 9.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09153, allocations: 50.61 MB / 464.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.005608/0.09718, allocations: 3.901 MB / 468 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.09999, allocations: 1.507 MB / 469.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.1005, allocations: 7.938 kB / 469.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008002/0.1014, allocations: 234.5 kB / 469.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006904/0.1021, allocations: 190.5 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.1027, allocations: 223.6 kB / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1039, allocations: 0.7786 MB / 470.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.1044, allocations: 206.5 kB / 471.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1049, allocations: 302.9 kB / 471.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.1055, allocations: 350.5 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.1057, allocations: 79.94 kB / 471.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1059, allocations: 83.98 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1061, allocations: 151.5 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1064, allocations: 330.4 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.1073, allocations: 0.7476 MB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1074, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1074, allocations: 4 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.1074, allocations: 0 / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.003089/0.1105, allocations: 1.038 MB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1105, allocations: 8.031 kB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.1107, allocations: 60.19 kB / 474.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.1122, allocations: 0.5767 MB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.1122, allocations: 33.12 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.1123, allocations: 39.94 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1134, allocations: 442.1 kB / 475.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1134, allocations: 7.938 kB / 475.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.1134, allocations: 16 kB / 475.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1135, allocations: 8 kB / 475.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1147, allocations: 415.7 kB / 475.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.1177, allocations: 1.566 MB / 477.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.119, allocations: 0.5459 MB / 477.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.1197, allocations: 209.2 kB / 478.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1197, allocations: 240 / 478.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.1204, allocations: 273.1 kB / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.1204, allocations: 0 / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003927/0.1244, allocations: 0.9482 MB / 479.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1244, allocations: 89.11 kB / 479.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.125, allocations: 429.9 kB / 479.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.1251, allocations: 33.7 kB / 479.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1253, allocations: 268 kB / 480.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1254, allocations: 90.66 kB / 480.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1256, allocations: 66.02 kB / 480.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1257, allocations: 366.7 kB / 480.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.1263, allocations: 181.7 kB / 480.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.1269, allocations: 241.6 kB / 481 MB, free: 2.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.128, allocations: 410 kB / 481.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.128, allocations: 0 / 481.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002844/0.1308, allocations: 0.7771 MB / 482.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.1309, allocations: 37.64 kB / 482.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1309, allocations: 0 / 482.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008498/0.1318, allocations: 233.5 kB / 482.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.1322, allocations: 83.88 kB / 482.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.1376, allocations: 3.728 MB / 486.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.1382, allocations: 59.73 kB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.1382, allocations: 19.92 kB / 486.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006881/0.1389, allocations: 305 kB / 486.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005498/0.1395, allocations: 233.4 kB / 486.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.1405, allocations: 401.5 kB / 487.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.1405, allocations: 7.938 kB / 487.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.002766/0.1433, allocations: 0.7611 MB / 488 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.1433, allocations: 36.2 kB / 488.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1434, allocations: 0 / 488.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.1441, allocations: 245.4 kB / 488.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.1445, allocations: 79.94 kB / 488.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.1495, allocations: 3.723 MB / 492.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.1501, allocations: 63.7 kB / 492.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.1502, allocations: 11.98 kB / 492.2 MB, free: 6.641 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (triangleAndStep.trapezoid.count,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.realToInteger.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1504, allocations: 205.1 kB / 492.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1505, allocations: 47.38 kB / 492.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.153, allocations: 0.6398 MB / 493.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.153, allocations: 3.984 kB / 493.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.153, allocations: 0 / 493.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.1532, allocations: 156.4 kB / 493.2 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.1533, allocations: 11.94 kB / 493.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.1538, allocations: 47.94 kB / 493.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1539, allocations: 31.95 kB / 493.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00209/0.156, allocations: 0.6145 MB / 493.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001763/0.1578, allocations: 0.8005 MB / 494.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005155/0.1583, allocations: 191.9 kB / 494.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.1587, allocations: 303.1 kB / 495.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of Backend: time 4.5e-07/0.1587, allocations: 0 / 495.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.1612, allocations: 1.205 MB / 496.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of SimCode: time 0.001642/0.1629, allocations: 1.272 MB / 497.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of Templates: time 0.01911/0.182, allocations: 10.86 MB / 0.4966 GB, free: 6.148 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe 2>&1)