Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001337/0.001337, allocations: 81.92 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.0009964/0.0009964, allocations: 173.7 kB / 23.28 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.9779/0.9779, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.02409/0.02409, allocations: 4.22 MB / 264.5 MB, free: 8.785 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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 339.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.295e-05, allocations: 4.562 kB / 339.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003899/0.003922, allocations: 4.285 MB / 343.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005985, allocations: 1.613 MB / 345.5 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.006225, allocations: 11.94 kB / 345.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.00682, allocations: 301.2 kB / 345.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.007198, allocations: 266 kB / 346 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.007523, allocations: 223.6 kB / 346.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01554/0.02307, allocations: 27.75 MB / 374 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.02852, allocations: 3.503 MB / 377.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02602/0.05454, allocations: 14.21 MB / 391.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01802/0.07256, allocations: 11.09 MB / 402.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006468/0.07903, allocations: 2.312 MB / 405.1 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008414/0.08744, allocations: 2.324 MB / 407.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007276/0.09472, allocations: 4.561 MB / 412 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01442/0.1091, allocations: 6.271 MB / 418.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.1284, allocations: 16.37 MB / 434.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1284, allocations: 0 / 434.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1284, allocations: 0 / 434.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000714/0.1291, allocations: 0 / 434.6 MB, free: 11.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.2648/0.3939, allocations: 18.19 MB / 452.8 MB, free: 131 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3939, allocations: 9.562 kB / 452.8 MB, free: 131 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.397, allocations: 2.186 MB / 455 MB, free: 129.9 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02034/0.4173, allocations: 13.03 MB / 468.1 MB, free: 124.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.4176, allocations: 0.6265 MB / 468.7 MB, free: 124.1 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.4188, allocations: 0.8216 MB / 469.5 MB, free: 123.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008708/0.4275, allocations: 8.063 MB / 477.6 MB, free: 120.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/0.4276, allocations: 29.22 kB / 477.6 MB, free: 120.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006314/0.4282, allocations: 346.6 kB / 477.9 MB, free: 120.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-05/0.4283, allocations: 214.4 kB / 478.1 MB, free: 120.3 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005525/0.4338, allocations: 3.56 MB / 481.7 MB, free: 120 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04378/0.4776, allocations: 43.69 MB / 0.5131 GB, free: 80.6 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.4835, allocations: 5.151 MB / 0.5181 GB, free: 75.71 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.4853, allocations: 1.874 MB / 0.5199 GB, free: 73.82 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.4854, allocations: 99.47 kB / 0.52 GB, free: 73.72 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4855, allocations: 80.91 kB / 0.5201 GB, free: 73.63 MB / 410.8 MB Notification: Performance of pre-optimization done (n=448): time 5.951e-06/0.4855, allocations: 0 / 0.5201 GB, free: 73.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=448): time 0.008466/0.494, allocations: 4.776 MB / 0.5248 GB, free: 68.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.494, allocations: 102.9 kB / 0.5249 GB, free: 68.72 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009301/0.5033, allocations: 10.99 MB / 0.5356 GB, free: 57.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007414/0.504, allocations: 117.6 kB / 0.5357 GB, free: 57.65 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004719/0.5087, allocations: 7.108 MB / 0.5427 GB, free: 50.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.5102, allocations: 1.744 MB / 0.5444 GB, free: 48.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0033/0.5135, allocations: 2.303 MB / 0.5466 GB, free: 46.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.5135, allocations: 476.8 kB / 0.5471 GB, free: 45.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.5163, allocations: 1.645 MB / 0.5487 GB, free: 44.3 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/0.52, allocations: 3.384 MB / 0.552 GB, free: 40.48 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/0.526, allocations: 4.846 MB / 0.5567 GB, free: 35.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.526, allocations: 12 kB / 0.5567 GB, free: 35.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.02073/0.5467, allocations: 10.3 MB / 0.5668 GB, free: 24.52 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.5468, allocations: 16 kB / 0.5668 GB, free: 24.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/0.5468, allocations: 24 kB / 0.5668 GB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/0.5676, allocations: 18.36 MB / 0.5847 GB, free: 5.906 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.5715, allocations: 1.334 MB / 0.586 GB, free: 4.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.185/0.7565, allocations: 98.55 MB / 0.6823 GB, free: 26.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007939/0.7644, allocations: 1.111 MB / 0.6834 GB, free: 26.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000759/0.7652, allocations: 307.7 kB / 0.6837 GB, free: 26.59 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (837): * Single equations (assignments): 788 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.003224/0.7684, allocations: 0.5191 MB / 0.6842 GB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/0.7701, allocations: 1.243 MB / 0.6854 GB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006617/0.7767, allocations: 4.437 MB / 0.6897 GB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.7767, allocations: 46.66 kB / 0.6898 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7767, allocations: 4 kB / 0.6898 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.7767, allocations: 20.02 kB / 0.6898 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/0.7966, allocations: 12.16 MB / 0.7016 GB, free: 23.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7966, allocations: 3.531 kB / 0.7017 GB, free: 23.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.7974, allocations: 385.1 kB / 0.702 GB, free: 23.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008204/0.8056, allocations: 8.118 MB / 0.7099 GB, free: 21.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000475/0.8061, allocations: 122.6 kB / 0.7101 GB, free: 21.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.8201, allocations: 4.939 MB / 0.7149 GB, free: 19.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8201, allocations: 0 / 0.7149 GB, free: 19.46 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/0.8285, allocations: 4.518 MB / 0.7193 GB, free: 16.98 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/0.8324, allocations: 2.122 MB / 0.7214 GB, free: 15.16 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/0.8338, allocations: 72 kB / 0.7214 GB, free: 15.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/0.8389, allocations: 271 kB / 0.7217 GB, free: 14.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.8393, allocations: 232.1 kB / 0.7219 GB, free: 14.78 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/0.8398, allocations: 117.7 kB / 0.722 GB, free: 14.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01323/0.853, allocations: 5.16 MB / 0.7271 GB, free: 10.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.853, allocations: 0 / 0.7271 GB, free: 10.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01149/0.8645, allocations: 3.094 MB / 0.7301 GB, free: 7.359 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/0.8659, allocations: 196.8 kB / 0.7303 GB, free: 7.16 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02453/0.8904, allocations: 15.97 MB / 0.7459 GB, free: 6.094 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8904, allocations: 4 kB / 0.7459 GB, free: 6.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0114/0.9018, allocations: 3.164 MB / 0.749 GB, free: 2.918 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/0.9153, allocations: 2.839 MB / 0.7517 GB, free: 128 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1675/1.083, allocations: 20.49 MB / 0.7718 GB, free: 108.7 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/1.087, allocations: 3.552 MB / 0.7752 GB, free: 108.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004755/1.092, allocations: 1.418 MB / 0.7766 GB, free: 108 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003849/1.095, allocations: 2.268 MB / 0.7788 GB, free: 107.9 MB / 426.8 MB Notification: Performance of SimCode: time 1.784e-06/1.095, allocations: 0 / 0.7788 GB, free: 107.9 MB / 426.8 MB Notification: Performance of Templates: time 0.3597/1.455, allocations: 194.1 MB / 0.9684 GB, free: 86.38 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.230430864728987]