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.00148/0.00148, allocations: 115.2 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.00171/0.00171, allocations: 183.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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0276/0.0276, allocations: 5.402 MB / 296.6 MB, free: 9.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 413.5 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.07426, allocations: 50.62 MB / 464.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.004653/0.07894, allocations: 3.864 MB / 468 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.08121, allocations: 1.484 MB / 469.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.08155, allocations: 4 kB / 469.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.08216, allocations: 250.4 kB / 469.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.08267, allocations: 198.6 kB / 469.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.08311, allocations: 219.7 kB / 470.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.08384, allocations: 0.7669 MB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.08412, allocations: 173.9 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.08445, allocations: 290.9 kB / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.08483, allocations: 338.6 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.08495, allocations: 72 kB / 471.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.0851, allocations: 87.98 kB / 471.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.08523, allocations: 147.5 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.08551, allocations: 306.5 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.08615, allocations: 0.728 MB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.08617, allocations: 8 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08617, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.08619, allocations: 0 / 473 MB, free: 10.9 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.002479/0.08868, allocations: 1.018 MB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.08872, allocations: 8.031 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.08885, allocations: 60.19 kB / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.09006, allocations: 0.5685 MB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.0901, allocations: 28.78 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.09016, allocations: 35.94 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.09112, allocations: 443.5 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.09114, allocations: 0 / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.09119, allocations: 12 kB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.09121, allocations: 8 kB / 475.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.09233, allocations: 402.3 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.09493, allocations: 1.56 MB / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.09633, allocations: 0.5825 MB / 477.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.09688, allocations: 180.7 kB / 477.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.09692, allocations: 7.938 kB / 477.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.09756, allocations: 258.7 kB / 478.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.09758, allocations: 4 kB / 478.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003742/0.1013, allocations: 0.9083 MB / 479.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1014, allocations: 85.11 kB / 479.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.1019, allocations: 457.8 kB / 479.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1019, allocations: 33.7 kB / 479.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1021, allocations: 256 kB / 479.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.1021, allocations: 82.89 kB / 479.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1023, allocations: 74 kB / 480 MB, free: 3.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1024, allocations: 354.7 kB / 480.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.103, allocations: 190 kB / 480.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.1035, allocations: 229.5 kB / 480.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1046, allocations: 389.1 kB / 481.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1046, allocations: 0 / 481.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002754/0.1073, allocations: 0.7575 MB / 481.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.1074, allocations: 40.19 kB / 481.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1074, allocations: 4 kB / 482 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/0.1082, allocations: 249.4 kB / 482.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1086, allocations: 67.94 kB / 482.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.1137, allocations: 3.739 MB / 486 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.1142, allocations: 71.55 kB / 486.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.1142, allocations: 16.08 kB / 486.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006288/0.1149, allocations: 296 kB / 486.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005207/0.1154, allocations: 228.8 kB / 486.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009437/0.1164, allocations: 384.7 kB / 487 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.1164, allocations: 0 / 487 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0027/0.1191, allocations: 0.7533 MB / 487.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1191, allocations: 33.7 kB / 487.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.1191, allocations: 3.938 kB / 487.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.1199, allocations: 241.7 kB / 488 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.1202, allocations: 83.81 kB / 488.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.125, allocations: 3.73 MB / 491.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.1256, allocations: 71.75 kB / 491.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.1256, allocations: 12 kB / 491.9 MB, free: 6.965 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.0001378/0.1257, allocations: 200.2 kB / 492.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.1258, allocations: 47.38 kB / 492.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.1259, allocations: 47.95 kB / 492.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1259, allocations: 3.984 kB / 492.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1259, allocations: 0 / 492.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.1261, allocations: 156.4 kB / 492.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.1262, allocations: 8 kB / 492.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.1266, allocations: 43.94 kB / 492.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.1267, allocations: 27.97 kB / 492.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001979/0.1287, allocations: 0.5717 MB / 493 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001611/0.1303, allocations: 0.7468 MB / 493.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004942/0.1308, allocations: 167.9 kB / 493.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.1312, allocations: 315.1 kB / 494.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.1312, allocations: 0 / 494.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.1334, allocations: 1.182 MB / 495.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of SimCode: time 0.001354/0.1348, allocations: 1.253 MB / 496.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of Templates: time 0.01628/0.1511, allocations: 10.97 MB / 0.4957 GB, free: 7.141 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)