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.001335/0.001335, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001346/0.001346, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1713/0.1713, allocations: 5.386 MB / 295.5 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 63.91 kB / 360.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 50.62 MB / 411 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.006615/0.1423, allocations: 3.929 MB / 414.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1453, allocations: 1.484 MB / 416.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.146, allocations: 8 kB / 416.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.1469, allocations: 210.8 kB / 416.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009165/0.1478, allocations: 166.9 kB / 416.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1485, allocations: 195.8 kB / 417 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1496, allocations: 0.7747 MB / 417.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.15, allocations: 214.5 kB / 417.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.1505, allocations: 302.8 kB / 418.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.1511, allocations: 354.5 kB / 418.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1512, allocations: 76 kB / 418.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1514, allocations: 84 kB / 418.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1516, allocations: 151.5 kB / 418.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.152, allocations: 322.4 kB / 419.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009977/0.153, allocations: 0.7359 MB / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.153, allocations: 0 / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1531, allocations: 4 kB / 419.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1531, allocations: 0 / 419.9 MB, free: 2.793 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.002772/0.1559, allocations: 1.05 MB / 421 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1559, allocations: 12.03 kB / 421 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.156, allocations: 60.19 kB / 421.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1573, allocations: 0.5611 MB / 421.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.1574, allocations: 45.09 kB / 421.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.1574, allocations: 36 kB / 421.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.1584, allocations: 450.1 kB / 422.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1584, allocations: 0 / 422.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.1585, allocations: 15.98 kB / 422.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1585, allocations: 8 kB / 422.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1596, allocations: 415.6 kB / 422.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/0.3389, allocations: 1.572 MB / 424.1 MB, free: 47.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.3402, allocations: 0.54 MB / 424.7 MB, free: 47.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.3407, allocations: 203.8 kB / 424.9 MB, free: 47.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3408, allocations: 8.984 kB / 424.9 MB, free: 47.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/0.3415, allocations: 273.1 kB / 425.2 MB, free: 47.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.3415, allocations: 3.312 kB / 425.2 MB, free: 47.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003689/0.3452, allocations: 0.9619 MB / 426.1 MB, free: 47.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3453, allocations: 80.3 kB / 426.2 MB, free: 47.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.3458, allocations: 439.1 kB / 426.6 MB, free: 46.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.3458, allocations: 32.64 kB / 426.7 MB, free: 46.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.346, allocations: 260.7 kB / 426.9 MB, free: 46.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.3461, allocations: 90.66 kB / 427 MB, free: 46.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3462, allocations: 76.17 kB / 427.1 MB, free: 46.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.3463, allocations: 357.1 kB / 427.4 MB, free: 46.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.3467, allocations: 187.3 kB / 427.6 MB, free: 46.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.3472, allocations: 231.8 kB / 427.8 MB, free: 46.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.3481, allocations: 413.9 kB / 428.2 MB, free: 45.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3481, allocations: 6.75 kB / 428.2 MB, free: 45.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002616/0.3508, allocations: 0.7672 MB / 429 MB, free: 45.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.3508, allocations: 37.39 kB / 429 MB, free: 45.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3508, allocations: 0.5625 kB / 429 MB, free: 45.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/0.3516, allocations: 241 kB / 429.3 MB, free: 45.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.352, allocations: 76 kB / 429.4 MB, free: 45.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.3567, allocations: 3.734 MB / 433.1 MB, free: 42.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.3574, allocations: 62.16 kB / 433.2 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3574, allocations: 17.94 kB / 433.2 MB, free: 42.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005894/0.358, allocations: 303.4 kB / 433.5 MB, free: 42.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004624/0.3585, allocations: 234.4 kB / 433.7 MB, free: 41.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008374/0.3593, allocations: 412.6 kB / 434.1 MB, free: 41.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.3593, allocations: 3.219 kB / 434.1 MB, free: 41.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.002527/0.3619, allocations: 0.7612 MB / 434.9 MB, free: 41.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.3619, allocations: 31.7 kB / 434.9 MB, free: 41.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3619, allocations: 0 / 434.9 MB, free: 41.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.3626, allocations: 241.4 kB / 435.1 MB, free: 41.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.363, allocations: 80.25 kB / 435.2 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.3672, allocations: 3.725 MB / 438.9 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.3678, allocations: 78.28 kB / 439 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3679, allocations: 6.719 kB / 439 MB, free: 38.12 MB / 350.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.0001654/0.368, allocations: 208.6 kB / 439.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.3681, allocations: 47.25 kB / 439.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.3703, allocations: 0.6443 MB / 439.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3703, allocations: 3.125 kB / 439.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3703, allocations: 3.828 kB / 439.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3703, allocations: 0 / 439.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.373, allocations: 1.181 MB / 441.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.373, allocations: 6.469 kB / 441.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.3733, allocations: 63.25 kB / 441.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.3736, allocations: 155.8 kB / 441.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3736, allocations: 10.45 kB / 441.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.3764, allocations: 2.006 MB / 443.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3764, allocations: 0 / 443.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.3785, allocations: 0.7196 MB / 444.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3787, allocations: 155.1 kB / 444.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3788, allocations: 14.67 kB / 444.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.3792, allocations: 51.86 kB / 444.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.3793, allocations: 35.06 kB / 444.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.3793, allocations: 13.88 kB / 444.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.3796, allocations: 301.1 kB / 444.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3796, allocations: 0 / 444.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007867/0.3804, allocations: 227.8 kB / 444.8 MB, free: 34.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,triangleAndStep.realToInteger.y,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.3806, allocations: 108.6 kB / 444.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.3828, allocations: 1.285 MB / 446.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3828, allocations: 2.062 kB / 446.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.3834, allocations: 328.1 kB / 446.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.384, allocations: 87.42 kB / 446.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3854, allocations: 1.039 MB / 447.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3856, allocations: 0.8338 MB / 448.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.386, allocations: 71.77 kB / 448.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3861, allocations: 40.48 kB / 448.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3861, allocations: 0 / 448.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Templates: time 0.0141/0.4002, allocations: 9.78 MB / 458.4 MB, free: 31.77 MB / 350.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)