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.002428/0.002428, allocations: 89.48 kB / 19.44 MB, free: 336 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.002975/0.002975, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 178] 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.03313/0.03313, allocations: 4.223 MB / 263.8 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.824e-06/1.824e-06, allocations: 0 / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.494e-05, allocations: 2.312 kB / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.00379/0.003825, allocations: 3.255 MB / 341.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.005378, allocations: 1.215 MB / 342.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.005551, allocations: 4 kB / 342.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.006027, allocations: 206.7 kB / 342.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.006306, allocations: 162.8 kB / 343.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.00646, allocations: 111.8 kB / 343.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.006815, allocations: 0.5485 MB / 343.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.006962, allocations: 76.64 kB / 343.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.007192, allocations: 295.3 kB / 344.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.007432, allocations: 187.5 kB / 344.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.007492, allocations: 52 kB / 344.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.007606, allocations: 75.91 kB / 344.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.007668, allocations: 107.6 kB / 344.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.007795, allocations: 147.7 kB / 344.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.008209, allocations: 0.5296 MB / 345.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.008213, allocations: 3.984 kB / 345.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008214, allocations: 0 / 345.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.008221, allocations: 4 kB / 345.2 MB, free: 3.684 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.001457/0.009678, allocations: 0.7992 MB / 346 MB, free: 2.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.009723, allocations: 8.031 kB / 346 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.009828, allocations: 56.66 kB / 346.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.01058, allocations: 415.4 kB / 346.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.0106, allocations: 16.88 kB / 346.5 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.01063, allocations: 28.38 kB / 346.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.01104, allocations: 287.7 kB / 346.8 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01105, allocations: 0 / 346.8 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.01107, allocations: 11.94 kB / 346.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.01108, allocations: 4 kB / 346.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.01147, allocations: 213 kB / 347 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.01311, allocations: 1.364 MB / 348.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.01339, allocations: 142.9 kB / 348.5 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.01361, allocations: 99.62 kB / 348.6 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.01363, allocations: 160 / 348.6 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.01365, allocations: 41.33 kB / 348.7 MB, free: 40 kB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.01365, allocations: 0 / 348.7 MB, free: 40 kB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006492/0.0143, allocations: 217.4 kB / 348.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.01435, allocations: 55.41 kB / 348.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.01491, allocations: 470.6 kB / 349.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.01494, allocations: 25.7 kB / 349.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.01518, allocations: 286.8 kB / 349.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.01522, allocations: 31.75 kB / 349.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.01534, allocations: 55.34 kB / 349.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003239/0.01566, allocations: 0.5313 MB / 350.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.01589, allocations: 87.95 kB / 350.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.01616, allocations: 141.9 kB / 350.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.01662, allocations: 209.7 kB / 350.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.01663, allocations: 11.88 kB / 350.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009746/0.01761, allocations: 329 kB / 351.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01762, allocations: 8 kB / 351.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01763, allocations: 0 / 351.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.01813, allocations: 87.64 kB / 351.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.01841, allocations: 47.95 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.02054, allocations: 2.003 MB / 353.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.02083, allocations: 31.83 kB / 353.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.02085, allocations: 8.031 kB / 353.3 MB, free: 11.21 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.0002022/0.02106, allocations: 192.6 kB / 353.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.02113, allocations: 31.8 kB / 353.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.0212, allocations: 38.98 kB / 353.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.0212, allocations: 3.938 kB / 353.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.02121, allocations: 7.938 kB / 353.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.02121, allocations: 0 / 353.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.02221, allocations: 0.5828 MB / 354.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.02221, allocations: 0 / 354.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.02237, allocations: 31.86 kB / 354.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.02239, allocations: 8.031 kB / 354.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.0224, allocations: 0 / 354.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.0224, allocations: 3.984 kB / 354.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0224, allocations: 0 / 354.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.02292, allocations: 327.4 kB / 354.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.02305, allocations: 43.73 kB / 354.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.02309, allocations: 7.984 kB / 354.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.02329, allocations: 8 kB / 354.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.02333, allocations: 11.92 kB / 354.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.02334, allocations: 4 kB / 354.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.0237, allocations: 311.1 kB / 354.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0237, allocations: 0 / 354.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.02406, allocations: 71.89 kB / 354.9 MB, free: 9.465 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.000192/0.02425, allocations: 103.2 kB / 355 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008572/0.02511, allocations: 399.9 kB / 355.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02511, allocations: 0 / 355.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.02531, allocations: 71.59 kB / 355.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.02581, allocations: 69.69 kB / 355.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.02696, allocations: 0.5259 MB / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.02715, allocations: 161.2 kB / 356.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.02734, allocations: 42.95 kB / 356.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.02742, allocations: 28.42 kB / 356.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02742, allocations: 4 kB / 356.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of Templates: time 0.009459/0.03688, allocations: 3.708 MB / 360 MB, free: 4.348 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: 4.612171198939905]