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.001421/0.001421, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001637/0.001637, allocations: 173 kB / 23.02 MB, free: 1.551 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 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.01835/0.01835, allocations: 4.224 MB / 264.2 MB, free: 8.938 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.593e-06/1.593e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.411e-05, allocations: 2.312 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.002806/0.00283, allocations: 3.309 MB / 342.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004016, allocations: 1.219 MB / 343.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.004159, allocations: 4 kB / 343.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.004535, allocations: 214.7 kB / 343.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.004766, allocations: 162.7 kB / 344 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.004905, allocations: 115.8 kB / 344.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.005186, allocations: 0.5408 MB / 344.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.00532, allocations: 76.64 kB / 344.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.00553, allocations: 311.2 kB / 345 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.005684, allocations: 171.5 kB / 345.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.005724, allocations: 44 kB / 345.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.005817, allocations: 59.92 kB / 345.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.00586, allocations: 83.67 kB / 345.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.005938, allocations: 143.6 kB / 345.5 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.006225, allocations: 310.9 kB / 345.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006228, allocations: 4 kB / 345.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00623, allocations: 0 / 345.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006235, allocations: 4 kB / 345.8 MB, free: 3.469 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.0007629/0.006998, allocations: 0.7331 MB / 346.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007031, allocations: 12.03 kB / 346.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.007105, allocations: 64.66 kB / 346.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.007459, allocations: 321 kB / 346.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.007472, allocations: 12.88 kB / 346.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.007495, allocations: 20.38 kB / 347 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.007775, allocations: 248.3 kB / 347.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.007786, allocations: 0 / 347.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.007804, allocations: 8 kB / 347.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.007815, allocations: 8 kB / 347.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.007976, allocations: 105 kB / 347.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.009163, allocations: 1.244 MB / 348.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.009325, allocations: 98.91 kB / 348.7 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.009436, allocations: 59.64 kB / 348.7 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.009453, allocations: 3.984 kB / 348.7 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.009468, allocations: 33.39 kB / 348.8 MB, free: 340 kB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.009469, allocations: 4 kB / 348.8 MB, free: 336 kB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002561/0.009725, allocations: 121.5 kB / 348.9 MB, free: 208 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.009744, allocations: 55.34 kB / 348.9 MB, free: 140 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.01003, allocations: 402.6 kB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.01005, allocations: 33.7 kB / 349.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01017, allocations: 267 kB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.01019, allocations: 31.73 kB / 349.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.01027, allocations: 59.3 kB / 349.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.01039, allocations: 0.5079 MB / 350.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.01047, allocations: 39.97 kB / 350.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.01057, allocations: 87.53 kB / 350.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.01073, allocations: 126.6 kB / 350.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01074, allocations: 3.938 kB / 350.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004479/0.01118, allocations: 263.2 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.0112, allocations: 4 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01121, allocations: 4 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.01145, allocations: 75.7 kB / 350.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.0116, allocations: 51.91 kB / 350.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.01293, allocations: 1.96 MB / 352.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01306, allocations: 31.88 kB / 352.8 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.01308, allocations: 11.98 kB / 352.9 MB, free: 11.99 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 9.461e-05/0.01318, allocations: 168.5 kB / 353 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01322, allocations: 31.81 kB / 353.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01326, allocations: 26.92 kB / 353.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01326, allocations: 7.984 kB / 353.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01326, allocations: 3.984 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01327, allocations: 3.984 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.01378, allocations: 496.9 kB / 353.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01378, allocations: 0 / 353.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.01386, allocations: 27.91 kB / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01386, allocations: 0 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01387, allocations: 0 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01387, allocations: 4 kB / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01387, allocations: 0 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.01404, allocations: 263.4 kB / 353.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.0141, allocations: 51.72 kB / 353.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01413, allocations: 8.031 kB / 353.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.01421, allocations: 7.984 kB / 353.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.01425, allocations: 11.98 kB / 353.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01426, allocations: 0 / 353.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.01443, allocations: 271.1 kB / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01443, allocations: 0 / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01467, allocations: 79.83 kB / 354.3 MB, free: 10.46 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.0001196/0.01479, allocations: 107.2 kB / 354.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.01518, allocations: 331.1 kB / 354.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01518, allocations: 0 / 354.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.01523, allocations: 35.67 kB / 354.8 MB, free: 9.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01555, allocations: 70 kB / 354.8 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.01651, allocations: 498.5 kB / 355.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.01656, allocations: 84.31 kB / 355.4 MB, free: 9.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.483e-05/0.01666, allocations: 42.94 kB / 355.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.01672, allocations: 24.5 kB / 355.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01672, allocations: 0 / 355.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of Templates: time 0.006274/0.02299, allocations: 4.134 MB / 359.6 MB, free: 5.152 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.832024573814124]