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.001507/0.001507, allocations: 112.2 kB / 16.42 MB, free: 6.016 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.001751/0.001751, allocations: 188.9 kB / 17.35 MB, free: 5.617 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02733/0.02733, allocations: 5.399 MB / 296.6 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.88 kB / 413.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08234, allocations: 50.62 MB / 464.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.005221/0.0876, allocations: 3.898 MB / 468 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.09006, allocations: 1.495 MB / 469.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.09045, allocations: 7.938 kB / 469.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.09111, allocations: 250.5 kB / 469.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.09167, allocations: 198.5 kB / 470 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.09216, allocations: 235 kB / 470.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.09301, allocations: 0.7747 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.09335, allocations: 214.5 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.09375, allocations: 302.9 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.0942, allocations: 346.5 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.09435, allocations: 80 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.09453, allocations: 87.94 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.09467, allocations: 159.5 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.095, allocations: 314.4 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000789/0.0958, allocations: 0.7549 MB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09581, allocations: 0 / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09582, allocations: 0 / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.09584, allocations: 0 / 473.2 MB, free: 10.81 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.002626/0.09848, allocations: 1.065 MB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09852, allocations: 8.031 kB / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.09866, allocations: 68.45 kB / 474.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.09997, allocations: 0.5771 MB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1, allocations: 33.12 kB / 474.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.1001, allocations: 32 kB / 475 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.101, allocations: 450.1 kB / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1011, allocations: 4 kB / 475.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.1011, allocations: 16 kB / 475.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1011, allocations: 8 kB / 475.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.1023, allocations: 411.7 kB / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.105, allocations: 1.574 MB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.1063, allocations: 0.5458 MB / 478 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.1069, allocations: 201.2 kB / 478.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.1069, allocations: 8.219 kB / 478.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/0.1075, allocations: 273.1 kB / 478.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.1076, allocations: 4 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003934/0.1115, allocations: 0.9447 MB / 479.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1116, allocations: 85.11 kB / 479.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.112, allocations: 437.9 kB / 479.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.1121, allocations: 33.7 kB / 479.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1123, allocations: 260.4 kB / 480.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.1123, allocations: 99.16 kB / 480.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.1125, allocations: 70 kB / 480.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1126, allocations: 366.7 kB / 480.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.1132, allocations: 185.7 kB / 480.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.1137, allocations: 241.6 kB / 481.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1148, allocations: 410 kB / 481.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1148, allocations: 4 kB / 481.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002826/0.1176, allocations: 0.7656 MB / 482.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.1177, allocations: 41.62 kB / 482.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1177, allocations: 0 / 482.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/0.1186, allocations: 237.5 kB / 482.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.119, allocations: 83.88 kB / 482.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/0.1242, allocations: 3.724 MB / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.1248, allocations: 71.69 kB / 486.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.1248, allocations: 11.98 kB / 486.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006364/0.1254, allocations: 305.1 kB / 486.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005316/0.126, allocations: 229.4 kB / 487 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009889/0.127, allocations: 409.5 kB / 487.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.127, allocations: 3.938 kB / 487.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.002749/0.1298, allocations: 0.7575 MB / 488.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1298, allocations: 41.69 kB / 488.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1298, allocations: 4 kB / 488.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007641/0.1306, allocations: 241.5 kB / 488.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.131, allocations: 79.88 kB / 488.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.1361, allocations: 3.716 MB / 492.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.1366, allocations: 67.72 kB / 492.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.1367, allocations: 20.05 kB / 492.3 MB, free: 6.629 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.000159/0.1368, allocations: 197.1 kB / 492.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.1369, allocations: 47.66 kB / 492.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.1394, allocations: 0.6438 MB / 493.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1394, allocations: 3.984 kB / 493.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1394, allocations: 0 / 493.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1396, allocations: 160.7 kB / 493.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.1397, allocations: 11.94 kB / 493.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.1401, allocations: 43.95 kB / 493.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1402, allocations: 39.95 kB / 493.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002121/0.1423, allocations: 0.6145 MB / 494 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001722/0.1441, allocations: 0.7969 MB / 494.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005149/0.1446, allocations: 195.9 kB / 495 MB, free: 3.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.145, allocations: 307.1 kB / 495.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.145, allocations: 0 / 495.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.1474, allocations: 1.2 MB / 496.5 MB, free: 2.242 MB / 366.1 MB Notification: Performance of SimCode: time 0.00156/0.149, allocations: 1.286 MB / 497.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of Templates: time 0.01761/0.1666, allocations: 10.86 MB / 0.4968 GB, free: 6.113 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)