Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001468/0.001468, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02837/0.02837, allocations: 5.395 MB / 296.6 MB, free: 9.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 63.91 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09735, allocations: 50.63 MB / 464.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.005232/0.1026, allocations: 3.864 MB / 468 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1052, allocations: 1.488 MB / 469.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.1057, allocations: 7.938 kB / 469.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.1064, allocations: 226.5 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.107, allocations: 186.6 kB / 469.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1075, allocations: 227.5 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.1083, allocations: 0.7553 MB / 470.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.1086, allocations: 177.9 kB / 471 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.1089, allocations: 291 kB / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.1093, allocations: 338.6 kB / 471.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1095, allocations: 72 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1096, allocations: 84 kB / 471.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1098, allocations: 151.4 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1101, allocations: 310.5 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.1107, allocations: 0.732 MB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1108, allocations: 3.984 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1108, allocations: 0 / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1108, allocations: 0 / 473 MB, free: 10.94 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002502/0.1133, allocations: 1.014 MB / 474 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1133, allocations: 8.031 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1135, allocations: 64.19 kB / 474.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1147, allocations: 0.5646 MB / 474.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1147, allocations: 32.78 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.1148, allocations: 32 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.1158, allocations: 439.4 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1158, allocations: 4 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.1158, allocations: 12 kB / 475.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1159, allocations: 8 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.117, allocations: 402.3 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.1197, allocations: 1.556 MB / 477.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1212, allocations: 0.5809 MB / 477.7 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.1218, allocations: 192.8 kB / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1218, allocations: 3.938 kB / 477.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006683/0.1225, allocations: 262.3 kB / 478.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1225, allocations: 0 / 478.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003922/0.1264, allocations: 0.9006 MB / 479 MB, free: 4.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1265, allocations: 85.09 kB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.127, allocations: 461.8 kB / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.1271, allocations: 33.7 kB / 479.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1273, allocations: 264 kB / 479.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.1273, allocations: 75.22 kB / 479.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1275, allocations: 70 kB / 480 MB, free: 3.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1276, allocations: 358.7 kB / 480.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.1282, allocations: 190 kB / 480.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.1288, allocations: 229.5 kB / 480.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.1298, allocations: 389.1 kB / 481.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1299, allocations: 4 kB / 481.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002843/0.1327, allocations: 0.7536 MB / 481.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.1328, allocations: 33.7 kB / 481.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1328, allocations: 3.984 kB / 481.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/0.1336, allocations: 241.5 kB / 482.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.1341, allocations: 83.88 kB / 482.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.1396, allocations: 3.731 MB / 486 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.1403, allocations: 71.56 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.1403, allocations: 20.08 kB / 486.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000694/0.141, allocations: 300 kB / 486.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005391/0.1416, allocations: 224.7 kB / 486.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009715/0.1426, allocations: 380.7 kB / 486.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.1426, allocations: 0 / 486.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.002808/0.1454, allocations: 0.7532 MB / 487.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1455, allocations: 29.7 kB / 487.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1455, allocations: 7.938 kB / 487.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/0.1462, allocations: 241.5 kB / 488 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.1466, allocations: 75.88 kB / 488 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.1518, allocations: 3.735 MB / 491.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.1524, allocations: 71.75 kB / 491.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.1524, allocations: 16 kB / 491.9 MB, free: 7.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (36): * Single equations (assignments): 33 * 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.0001711/0.1526, allocations: 192.2 kB / 492.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.1527, allocations: 51.38 kB / 492.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1528, allocations: 48 kB / 492.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1528, allocations: 0 / 492.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1528, allocations: 0 / 492.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.153, allocations: 160.4 kB / 492.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.1531, allocations: 8 kB / 492.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.1535, allocations: 35.95 kB / 492.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1536, allocations: 35.95 kB / 492.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002/0.1556, allocations: 0.5715 MB / 493 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001687/0.1573, allocations: 0.7429 MB / 493.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004972/0.1579, allocations: 171.9 kB / 493.9 MB, free: 4.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.1582, allocations: 315.1 kB / 494.2 MB, free: 4.641 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.1582, allocations: 4 kB / 494.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.1609, allocations: 1.186 MB / 495.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of SimCode: time 0.001742/0.1626, allocations: 1.246 MB / 496.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of Templates: time 0.01853/0.1812, allocations: 10.97 MB / 0.4957 GB, free: 7.188 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1)