Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json 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.01673/0.01673, allocations: 4.231 MB / 24.33 MB, free: 192 kB / 18.57 MB " [Timeout remaining time 180] 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.0009158/0.0009158, allocations: 76.53 kB / 28.77 MB, free: 1.922 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.001077/0.001077, allocations: 158.6 kB / 33.33 MB, free: 3.578 MB / 24.77 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.8281/0.8281, allocations: 177.2 MB / 214.9 MB, free: 15.16 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.004/2.004, allocations: 429.5 MB / 0.6856 GB, free: 412 kB / 0.6355 GB " [Timeout remaining time 177] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo): time 0.007025/0.007025, allocations: 1.982 MB / 0.8808 GB, free: 10.7 MB / 0.823 GB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo) Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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) Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.09 GB, free: 3.742 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.883e-05, allocations: 2.312 kB / 1.09 GB, free: 3.738 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.008381/0.00841, allocations: 6.626 MB / 1.097 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.007311/0.01572, allocations: 4.108 MB / 1.101 GB, free: 8.949 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.01702, allocations: 23.94 kB / 1.101 GB, free: 8.926 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.01969, allocations: 1.178 MB / 1.102 GB, free: 7.742 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.02217, allocations: 0.7532 MB / 1.103 GB, free: 6.984 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.02398, allocations: 0.5325 MB / 1.103 GB, free: 6.461 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.02599, allocations: 1.463 MB / 1.105 GB, free: 4.992 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.02735, allocations: 0.9187 MB / 1.106 GB, free: 4.047 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.02843, allocations: 0.8418 MB / 1.106 GB, free: 3.203 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007984/0.02923, allocations: 0.5609 MB / 1.107 GB, free: 2.641 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.02942, allocations: 148 kB / 1.107 GB, free: 2.496 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.03049, allocations: 471.3 kB / 1.108 GB, free: 2.035 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.03077, allocations: 326.8 kB / 1.108 GB, free: 1.715 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.03126, allocations: 458.8 kB / 1.108 GB, free: 1.266 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.03326, allocations: 1.296 MB / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.03327, allocations: 0 / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.273e-06/0.03327, allocations: 0 / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.03329, allocations: 4 kB / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003678/0.03697, allocations: 1.863 MB / 1.111 GB, free: 14.04 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.03702, allocations: 12.03 kB / 1.111 GB, free: 14.03 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.03934, allocations: 0.4997 MB / 1.112 GB, free: 13.53 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.0409, allocations: 0.7345 MB / 1.113 GB, free: 12.76 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.04097, allocations: 82.45 kB / 1.113 GB, free: 12.68 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.04114, allocations: 111.9 kB / 1.113 GB, free: 12.57 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.04298, allocations: 1.018 MB / 1.114 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.04301, allocations: 0 / 1.114 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.04311, allocations: 44 kB / 1.114 GB, free: 11.41 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.04314, allocations: 28 kB / 1.114 GB, free: 11.39 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.04431, allocations: 0.6862 MB / 1.115 GB, free: 10.69 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.04809, allocations: 3.936 MB / 1.118 GB, free: 6.617 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.04925, allocations: 0.8114 MB / 1.119 GB, free: 5.777 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.04954, allocations: 248.5 kB / 1.119 GB, free: 5.512 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.0496, allocations: 28.42 kB / 1.119 GB, free: 5.484 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.05003, allocations: 436.5 kB / 1.12 GB, free: 5.016 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/0.05003, allocations: 0 / 1.12 GB, free: 5.016 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002162/0.05219, allocations: 1.171 MB / 1.121 GB, free: 3.789 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.05227, allocations: 222.2 kB / 1.121 GB, free: 3.523 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.05284, allocations: 0.6789 MB / 1.122 GB, free: 2.828 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.05288, allocations: 41.7 kB / 1.122 GB, free: 2.781 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.05315, allocations: 0.5887 MB / 1.123 GB, free: 2.184 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.05328, allocations: 246 kB / 1.123 GB, free: 1.941 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.05346, allocations: 196.2 kB / 1.123 GB, free: 1.742 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.05361, allocations: 0.5625 MB / 1.123 GB, free: 1.168 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.05387, allocations: 221.3 kB / 1.124 GB, free: 0.9375 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.05428, allocations: 0.584 MB / 1.124 GB, free: 204 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.05495, allocations: 0.8015 MB / 1.125 GB, free: 15.23 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.05496, allocations: 0 / 1.125 GB, free: 15.23 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00121/0.05617, allocations: 0.9713 MB / 1.126 GB, free: 14.23 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.05622, allocations: 68.11 kB / 1.126 GB, free: 14.15 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.05624, allocations: 8 kB / 1.126 GB, free: 14.14 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.05654, allocations: 91.55 kB / 1.126 GB, free: 14.05 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.05701, allocations: 215.7 kB / 1.126 GB, free: 13.84 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.05826, allocations: 1.967 MB / 1.128 GB, free: 11.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.05873, allocations: 103.3 kB / 1.128 GB, free: 11.64 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.05878, allocations: 43.98 kB / 1.128 GB, free: 11.6 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * 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.0003798/0.05916, allocations: 298.4 kB / 1.129 GB, free: 11.29 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.0593, allocations: 111.5 kB / 1.129 GB, free: 11.18 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.06035, allocations: 0.8877 MB / 1.13 GB, free: 10.24 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.06036, allocations: 8 kB / 1.13 GB, free: 10.23 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.06036, allocations: 0 / 1.13 GB, free: 10.23 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.06037, allocations: 3.984 kB / 1.13 GB, free: 10.23 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.06255, allocations: 1.752 MB / 1.131 GB, free: 8.395 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.06255, allocations: 0 / 1.131 GB, free: 8.395 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.06282, allocations: 119.8 kB / 1.132 GB, free: 8.277 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.06319, allocations: 258.9 kB / 1.132 GB, free: 8.008 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.06324, allocations: 35.89 kB / 1.132 GB, free: 7.973 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000594/0.06383, allocations: 1.066 MB / 1.133 GB, free: 6.855 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.06383, allocations: 4 kB / 1.133 GB, free: 6.852 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.06526, allocations: 1.285 MB / 1.134 GB, free: 5.496 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.06552, allocations: 163.2 kB / 1.134 GB, free: 5.336 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.06562, allocations: 24 kB / 1.134 GB, free: 5.312 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.06586, allocations: 35.97 kB / 1.134 GB, free: 5.277 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.06596, allocations: 56.5 kB / 1.134 GB, free: 5.219 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.06601, allocations: 31.97 kB / 1.134 GB, free: 5.188 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003596/0.06637, allocations: 435 kB / 1.135 GB, free: 4.766 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.06637, allocations: 0 / 1.135 GB, free: 4.766 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0009842/0.06735, allocations: 355 kB / 1.135 GB, free: 4.418 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.06886, allocations: 0.7234 MB / 1.136 GB, free: 3.938 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.06994, allocations: 0.9576 MB / 1.137 GB, free: 2.906 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.06995, allocations: 0 / 1.137 GB, free: 2.906 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.07037, allocations: 448.1 kB / 1.137 GB, free: 2.426 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.07087, allocations: 164.7 kB / 1.137 GB, free: 2.27 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.07312, allocations: 1.693 MB / 1.139 GB, free: 0.5195 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.07323, allocations: 185 kB / 1.139 GB, free: 320 kB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.0735, allocations: 130.2 kB / 1.139 GB, free: 188 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.07365, allocations: 84.45 kB / 1.139 GB, free: 104 kB / 1.073 GB Notification: Performance of SimCode: time 1.463e-06/0.07365, allocations: 0 / 1.139 GB, free: 104 kB / 1.073 GB Notification: Performance of Templates: time 0.01492/0.08857, allocations: 12.58 MB / 1.152 GB, free: 3.672 MB / 1.089 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.670122703071684]