Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9934/0.9934, allocations: 177.2 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01847/0.01847, allocations: 4.224 MB / 264.5 MB, free: 8.773 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 339.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.692e-05, allocations: 2.312 kB / 339.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.00393/0.003957, allocations: 3.257 MB / 342.8 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.005908, allocations: 1.234 MB / 344 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.006138, allocations: 7.938 kB / 344.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.006655, allocations: 194.9 kB / 344.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.006975, allocations: 162.8 kB / 344.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.007132, allocations: 123.8 kB / 344.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.00753, allocations: 0.5369 MB / 345.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.007691, allocations: 84.61 kB / 345.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.007956, allocations: 303.3 kB / 345.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.008115, allocations: 171.5 kB / 345.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.008156, allocations: 40 kB / 345.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.00824, allocations: 63.92 kB / 345.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.008293, allocations: 91.59 kB / 345.8 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.008379, allocations: 135.7 kB / 345.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.008704, allocations: 314.9 kB / 346.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008707, allocations: 0 / 346.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008708, allocations: 0 / 346.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.008713, allocations: 0 / 346.2 MB, free: 4.246 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007879/0.0095, allocations: 0.737 MB / 347 MB, free: 3.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.009541, allocations: 12.02 kB / 347 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.009611, allocations: 60.66 kB / 347 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.009982, allocations: 317 kB / 347.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.01, allocations: 20.81 kB / 347.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.01003, allocations: 16.38 kB / 347.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.0103, allocations: 228.3 kB / 347.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.0103, allocations: 0 / 347.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.01032, allocations: 15.98 kB / 347.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.01033, allocations: 4 kB / 347.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01043, allocations: 84.73 kB / 347.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.01151, allocations: 1.209 MB / 348.9 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.01163, allocations: 79.02 kB / 349 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.01172, allocations: 63.58 kB / 349.1 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01173, allocations: 4 kB / 349.1 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.01175, allocations: 33.39 kB / 349.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.01175, allocations: 0 / 349.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000203/0.01196, allocations: 109.4 kB / 349.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.01198, allocations: 59.41 kB / 349.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.01222, allocations: 394.6 kB / 349.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.01223, allocations: 33.64 kB / 349.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01234, allocations: 266.8 kB / 349.9 MB, free: 316 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.01236, allocations: 31.77 kB / 350 MB, free: 284 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.01243, allocations: 55.28 kB / 350 MB, free: 220 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01256, allocations: 0.5196 MB / 350.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.01261, allocations: 35.97 kB / 350.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.01267, allocations: 79.52 kB / 350.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.01278, allocations: 110.6 kB / 350.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01278, allocations: 0 / 350.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003588/0.01314, allocations: 247.7 kB / 351 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01315, allocations: 4 kB / 351 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01316, allocations: 0 / 351 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.01336, allocations: 75.61 kB / 351.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.01352, allocations: 51.89 kB / 351.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009159/0.01444, allocations: 1.945 MB / 353.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01456, allocations: 27.83 kB / 353.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01457, allocations: 11.97 kB / 353.1 MB, free: 12.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 9.029e-05/0.01466, allocations: 168.6 kB / 353.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.0147, allocations: 31.81 kB / 353.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.01473, allocations: 30.92 kB / 353.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01474, allocations: 0 / 353.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01474, allocations: 0 / 353.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01474, allocations: 3.938 kB / 353.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.0151, allocations: 433.5 kB / 353.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.0151, allocations: 4 kB / 353.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.01517, allocations: 27.95 kB / 353.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01517, allocations: 0 / 353.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01518, allocations: 7.984 kB / 353.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01518, allocations: 7.938 kB / 353.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01519, allocations: 4 kB / 353.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01533, allocations: 251.4 kB / 354.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.01539, allocations: 47.78 kB / 354.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01541, allocations: 4 kB / 354.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.01549, allocations: 15.86 kB / 354.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.01552, allocations: 8 kB / 354.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01552, allocations: 11.92 kB / 354.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01564, allocations: 255 kB / 354.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01564, allocations: 4 kB / 354.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.01587, allocations: 79.78 kB / 354.5 MB, free: 11.51 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000103/0.01597, allocations: 99.23 kB / 354.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.01627, allocations: 306.9 kB / 354.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01627, allocations: 192 / 354.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.01632, allocations: 35.61 kB / 354.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.0166, allocations: 64.92 kB / 355 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.01734, allocations: 0.4907 MB / 355.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.01738, allocations: 92.16 kB / 355.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.01748, allocations: 34.95 kB / 355.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.01761, allocations: 126.2 kB / 355.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01761, allocations: 0 / 355.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Templates: time 0.006603/0.02421, allocations: 4.213 MB / 359.9 MB, free: 6.066 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8264715461991727]