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.001029/0.001029, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002147/0.003176, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007582/0.0007582, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001795, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9633/0.9633, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09333/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.02327/0.02327, allocations: 4.325 MB / 248.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002925/0.02619, allocations: 1.691 MB / 249.9 MB, free: 8.957 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.132e-06/1.132e-06, allocations: 0 / 251.2 MB, free: 7.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.776e-05, allocations: 10.31 kB / 251.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004282/0.0043, allocations: 3.367 MB / 254.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.006251, allocations: 1.334 MB / 255.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.006401, allocations: 4 kB / 255.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.006896, allocations: 266.6 kB / 256.2 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.007267, allocations: 162.8 kB / 256.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.007454, allocations: 119.8 kB / 256.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.007946, allocations: 0.5603 MB / 257 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.008111, allocations: 89.27 kB / 257.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.008577, allocations: 390.2 kB / 257.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.008831, allocations: 175.5 kB / 257.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.008886, allocations: 44 kB / 257.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.009002, allocations: 71.91 kB / 257.8 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.009097, allocations: 63.81 kB / 257.9 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.009226, allocations: 115.8 kB / 258 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.009589, allocations: 306.9 kB / 258.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.009597, allocations: 3.938 kB / 258.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009598, allocations: 0 / 258.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.009608, allocations: 4 kB / 258.3 MB, free: 0.5703 MB / 250.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.001054/0.01066, allocations: 0.6898 MB / 259 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.01069, allocations: 15.98 kB / 259 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.01075, allocations: 39.95 kB / 259 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.01122, allocations: 287.8 kB / 259.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.01124, allocations: 28.42 kB / 259.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.01127, allocations: 19.94 kB / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.01155, allocations: 220.9 kB / 259.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01156, allocations: 3.984 kB / 259.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.01158, allocations: 12 kB / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.01159, allocations: 4 kB / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.01173, allocations: 72.97 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01313, allocations: 0.8786 MB / 260.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.01326, allocations: 66.48 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.01337, allocations: 44.83 kB / 260.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01338, allocations: 4 kB / 260.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.0134, allocations: 38.55 kB / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.0134, allocations: 0 / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001818/0.01358, allocations: 89.75 kB / 260.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.01361, allocations: 55.41 kB / 260.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.01388, allocations: 331.2 kB / 261.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.0139, allocations: 25.7 kB / 261.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01401, allocations: 196.7 kB / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.01403, allocations: 27.78 kB / 261.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.01412, allocations: 53.62 kB / 261.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01422, allocations: 342.7 kB / 261.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.01428, allocations: 27.98 kB / 261.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.01436, allocations: 63.41 kB / 261.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.0145, allocations: 91.31 kB / 262 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0145, allocations: 3.938 kB / 262 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000439/0.01494, allocations: 204.8 kB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01495, allocations: 8.094 kB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01495, allocations: 0 / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.01522, allocations: 72.78 kB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.01544, allocations: 59.89 kB / 262.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.01654, allocations: 1.362 MB / 263.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.01672, allocations: 27.81 kB / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01674, allocations: 8 kB / 263.7 MB, free: 10.83 MB / 266.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.814e-05/0.01683, allocations: 121.9 kB / 263.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.01688, allocations: 19.97 kB / 263.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.01693, allocations: 31.06 kB / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01693, allocations: 0 / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01693, allocations: 3.938 kB / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01693, allocations: 0 / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.01737, allocations: 327.7 kB / 264.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01738, allocations: 4 kB / 264.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.01751, allocations: 39.88 kB / 264.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01751, allocations: 0 / 264.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.01754, allocations: 4 kB / 264.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01754, allocations: 3.938 kB / 264.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01754, allocations: 0 / 264.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01769, allocations: 176.4 kB / 264.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.01778, allocations: 35.78 kB / 264.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.01781, allocations: 4 kB / 264.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.01796, allocations: 15.92 kB / 264.5 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.01798, allocations: 8.016 kB / 264.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01799, allocations: 11.94 kB / 264.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.01813, allocations: 136.7 kB / 264.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01813, allocations: 0 / 264.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.01845, allocations: 79.83 kB / 264.7 MB, free: 9.77 MB / 266.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 8.859e-05/0.01854, allocations: 76.42 kB / 264.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01892, allocations: 255 kB / 265 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01892, allocations: 8.062 kB / 265 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.01897, allocations: 28.78 kB / 265.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.0192, allocations: 85.39 kB / 265.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.01985, allocations: 0.5153 MB / 265.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.01989, allocations: 88.31 kB / 265.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.168e-05/0.01998, allocations: 38.94 kB / 265.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.0201, allocations: 107.3 kB / 265.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.0201, allocations: 0 / 265.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of Templates: time 0.005738/0.02584, allocations: 4.415 MB / 270.3 MB, free: 4.164 MB / 266.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.6546924244612455]