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.0009387/0.0009387, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009332/0.0009332, allocations: 173 kB / 23.5 MB, free: 1.051 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.9794/0.9794, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.01774/0.01774, allocations: 4.214 MB / 264.5 MB, free: 9.004 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.623e-06/1.623e-06, allocations: 0 / 339 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.705e-05, allocations: 5.125 kB / 339 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003/0.003027, allocations: 3.295 MB / 342.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.00456, allocations: 1.223 MB / 343.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.004724, allocations: 8 kB / 343.5 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.005134, allocations: 198.8 kB / 343.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.005399, allocations: 162.8 kB / 343.9 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.005547, allocations: 115.8 kB / 344 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.005886, allocations: 0.5446 MB / 344.5 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.006037, allocations: 76.64 kB / 344.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.006269, allocations: 291.4 kB / 344.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.00644, allocations: 199.4 kB / 345.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.006484, allocations: 48 kB / 345.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.006569, allocations: 71.92 kB / 345.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.006617, allocations: 103.6 kB / 345.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.006704, allocations: 151.6 kB / 345.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007005, allocations: 346.8 kB / 345.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007008, allocations: 0 / 345.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007009, allocations: 0 / 345.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.007015, allocations: 0 / 345.8 MB, free: 3.824 MB / 266.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.0008914/0.007907, allocations: 0.776 MB / 346.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.007949, allocations: 12.03 kB / 346.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.008038, allocations: 64.66 kB / 346.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.008547, allocations: 391.4 kB / 347 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.00856, allocations: 16.88 kB / 347 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.008584, allocations: 20.38 kB / 347.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.00885, allocations: 244.3 kB / 347.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.008858, allocations: 0 / 347.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.008877, allocations: 12 kB / 347.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008885, allocations: 4 kB / 347.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.009036, allocations: 105 kB / 347.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01006, allocations: 1.232 MB / 348.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.01021, allocations: 86.97 kB / 348.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01032, allocations: 51.66 kB / 348.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01034, allocations: 8 kB / 348.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.01035, allocations: 37.38 kB / 348.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.01036, allocations: 0 / 348.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002571/0.01061, allocations: 125.6 kB / 348.9 MB, free: 480 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.01063, allocations: 55.41 kB / 349 MB, free: 412 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.01084, allocations: 386.7 kB / 349.4 MB, free: 8 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.01087, allocations: 29.7 kB / 349.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01101, allocations: 270.8 kB / 349.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.01103, allocations: 27.78 kB / 349.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.0111, allocations: 63.23 kB / 349.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01125, allocations: 0.5118 MB / 350.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.01133, allocations: 47.97 kB / 350.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.01142, allocations: 87.52 kB / 350.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.01157, allocations: 126.6 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01157, allocations: 3.938 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004413/0.01201, allocations: 256.3 kB / 350.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01203, allocations: 12 kB / 350.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01203, allocations: 0 / 350.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.01229, allocations: 75.61 kB / 350.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01243, allocations: 43.91 kB / 350.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.01359, allocations: 1.964 MB / 352.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01373, allocations: 27.84 kB / 352.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01374, allocations: 11.97 kB / 352.9 MB, free: 12.27 MB / 282.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 0.0001021/0.01384, allocations: 172.6 kB / 353.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.01389, allocations: 31.81 kB / 353.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.01393, allocations: 26.92 kB / 353.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01393, allocations: 3.938 kB / 353.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01393, allocations: 0 / 353.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01393, allocations: 0 / 353.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.01438, allocations: 492.8 kB / 353.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01439, allocations: 0 / 353.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.01446, allocations: 23.92 kB / 353.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01446, allocations: 4.031 kB / 353.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01447, allocations: 3.984 kB / 353.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01448, allocations: 4 kB / 353.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01448, allocations: 0 / 353.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01469, allocations: 267.3 kB / 353.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.01476, allocations: 47.72 kB / 354 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01478, allocations: 4 kB / 354 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.01487, allocations: 4 kB / 354 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.01491, allocations: 11.98 kB / 354 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01492, allocations: 0 / 354 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.0151, allocations: 271 kB / 354.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0151, allocations: 0 / 354.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.01536, allocations: 75.81 kB / 354.3 MB, free: 10.77 MB / 282.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.000125/0.01548, allocations: 99.19 kB / 354.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.01586, allocations: 322.2 kB / 354.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01587, allocations: 0 / 354.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.01592, allocations: 43.8 kB / 354.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01625, allocations: 76.44 kB / 354.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.01717, allocations: 0.4907 MB / 355.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01722, allocations: 84.62 kB / 355.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.01734, allocations: 42.95 kB / 355.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.0174, allocations: 24.48 kB / 355.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0174, allocations: 4 kB / 355.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of Templates: time 0.006652/0.02405, allocations: 3.726 MB / 359.2 MB, free: 5.859 MB / 282.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.903673025080934]