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.0009722/0.000972, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.001375/0.001375, allocations: 172.3 kB / 16.26 MB, free: 6.664 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1465/0.1465, allocations: 5.374 MB / 296.8 MB, free: 3.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005213, allocations: 8 kB / 362.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1483, allocations: 51.6 MB / 414.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.004381/0.1527, allocations: 3.535 MB / 417.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1555, allocations: 1.465 MB / 419.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.1559, allocations: 8 kB / 419.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.1565, allocations: 214.8 kB / 419.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.157, allocations: 166.8 kB / 419.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1574, allocations: 203.7 kB / 419.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.1581, allocations: 0.72 MB / 420.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1585, allocations: 194 kB / 420.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.1588, allocations: 238.9 kB / 420.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.1592, allocations: 298.6 kB / 421.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.1592, allocations: 28 kB / 421.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1594, allocations: 43.98 kB / 421.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1595, allocations: 103.4 kB / 421.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.1598, allocations: 292.1 kB / 421.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.1603, allocations: 0.6849 MB / 422.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1604, allocations: 0 / 422.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1604, allocations: 0 / 422.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1604, allocations: 0 / 422.4 MB, free: 1.953 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.002341/0.1627, allocations: 0.9725 MB / 423.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1628, allocations: 12.03 kB / 423.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1629, allocations: 60.19 kB / 423.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1641, allocations: 0.5844 MB / 424 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1642, allocations: 53.11 kB / 424 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.1643, allocations: 43.92 kB / 424.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2173/0.3816, allocations: 471.3 kB / 424.5 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3817, allocations: 3.312 kB / 424.5 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.3817, allocations: 14.12 kB / 424.6 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3817, allocations: 7.031 kB / 424.6 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.3834, allocations: 468.6 kB / 425 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.3868, allocations: 1.596 MB / 426.6 MB, free: 44.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3881, allocations: 0.5823 MB / 427.2 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.3887, allocations: 230.9 kB / 427.4 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.3887, allocations: 10.44 kB / 427.4 MB, free: 44.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006867/0.3894, allocations: 295 kB / 427.7 MB, free: 44.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.3895, allocations: 0 / 427.7 MB, free: 44.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003727/0.3932, allocations: 1.104 MB / 428.8 MB, free: 44.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3933, allocations: 87.94 kB / 428.9 MB, free: 44.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.3937, allocations: 433.3 kB / 429.3 MB, free: 43.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3938, allocations: 32.77 kB / 429.4 MB, free: 43.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3939, allocations: 261.2 kB / 429.6 MB, free: 43.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.394, allocations: 93.34 kB / 429.7 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.394, allocations: 38.42 kB / 429.8 MB, free: 43.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.3941, allocations: 360.3 kB / 430.1 MB, free: 43.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.3946, allocations: 204 kB / 430.3 MB, free: 43.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.3952, allocations: 261.1 kB / 430.6 MB, free: 43.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3962, allocations: 475.2 kB / 431 MB, free: 43.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3962, allocations: 0 / 431 MB, free: 43.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002685/0.3989, allocations: 0.848 MB / 431.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.327e-05/0.399, allocations: 158.2 kB / 432 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.399, allocations: 4.016 kB / 432 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.3998, allocations: 254 kB / 432.3 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.4002, allocations: 88.19 kB / 432.4 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.4045, allocations: 3.5 MB / 435.9 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.405, allocations: 78.03 kB / 435.9 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.4051, allocations: 16.11 kB / 436 MB, free: 40.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/0.4051, allocations: 3.062 kB / 436 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002567/0.4077, allocations: 0.7973 MB / 436.8 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4077, allocations: 4 kB / 436.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.4084, allocations: 253.7 kB / 437 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4087, allocations: 85.25 kB / 437.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.4126, allocations: 3.501 MB / 440.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.4131, allocations: 72.56 kB / 440.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4131, allocations: 18.42 kB / 440.7 MB, free: 37.04 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.0002422/0.4134, allocations: 247.6 kB / 440.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.4134, allocations: 53.09 kB / 441 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4157, allocations: 0.7273 MB / 441.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4157, allocations: 7.219 kB / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4157, allocations: 0 / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4157, allocations: 3.422 kB / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.4185, allocations: 1.272 MB / 443 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4185, allocations: 0 / 443 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.4188, allocations: 79.92 kB / 443.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.4191, allocations: 174.6 kB / 443.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.4191, allocations: 6.812 kB / 443.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.4219, allocations: 1.943 MB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4219, allocations: 7.219 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.4241, allocations: 0.8134 MB / 446 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.4243, allocations: 157.8 kB / 446.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.4244, allocations: 10.69 kB / 446.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.4248, allocations: 58.52 kB / 446.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4249, allocations: 38.25 kB / 446.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.425, allocations: 6.469 kB / 446.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.4253, allocations: 312.2 kB / 446.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4253, allocations: 0 / 446.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008247/0.4261, allocations: 212.7 kB / 446.8 MB, free: 33.74 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.0001533/0.4263, allocations: 110 kB / 446.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.4286, allocations: 1.336 MB / 448.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4287, allocations: 4.062 kB / 448.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.4293, allocations: 354.5 kB / 448.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.4298, allocations: 99.61 kB / 448.7 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4312, allocations: 1.064 MB / 449.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4315, allocations: 0.8335 MB / 450.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.4318, allocations: 70.09 kB / 450.6 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4319, allocations: 40.73 kB / 450.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.432, allocations: 0 / 450.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of Templates: time 0.01331/0.4453, allocations: 9.195 MB / 459.9 MB, free: 30.64 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: