Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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.05165/0.05165, allocations: 4.227 MB / 23.58 MB, free: 0.7891 MB / 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.002255/0.002255, allocations: 89.52 kB / 28.05 MB, free: 1.832 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.002766/0.002766, allocations: 168.9 kB / 32.61 MB, free: 3.477 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 1.434/1.434, allocations: 177.2 MB / 214.2 MB, free: 15.14 MB / 202.7 MB " [Timeout remaining time 178] 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 3.402/3.402, allocations: 429.5 MB / 0.6849 GB, free: 428 kB / 0.6355 GB " [Timeout remaining time 176] 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.01194/0.01194, allocations: 1.979 MB / 0.8801 GB, free: 10.77 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 1.09 GB, free: 3.84 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.742e-05, allocations: 6.312 kB / 1.09 GB, free: 3.832 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.01047/0.01049, allocations: 6.587 MB / 1.096 GB, free: 13.2 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.009137/0.01963, allocations: 4.085 MB / 1.1 GB, free: 9.102 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.02072, allocations: 19.94 kB / 1.1 GB, free: 9.082 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.02434, allocations: 1.181 MB / 1.101 GB, free: 7.895 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.02691, allocations: 0.7531 MB / 1.102 GB, free: 7.137 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.02895, allocations: 0.5318 MB / 1.103 GB, free: 6.613 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.03138, allocations: 1.459 MB / 1.104 GB, free: 5.148 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.03342, allocations: 0.9226 MB / 1.105 GB, free: 4.199 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.03524, allocations: 0.8379 MB / 1.106 GB, free: 3.359 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.03653, allocations: 0.5648 MB / 1.106 GB, free: 2.793 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.03695, allocations: 144 kB / 1.106 GB, free: 2.652 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.03816, allocations: 475.3 kB / 1.107 GB, free: 2.188 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.03852, allocations: 330.8 kB / 1.107 GB, free: 1.863 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.03916, allocations: 450.8 kB / 1.108 GB, free: 1.422 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.0421, allocations: 1.924 MB / 1.109 GB, free: 15.49 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.04211, allocations: 0 / 1.109 GB, free: 15.49 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.433e-06/0.04211, allocations: 0 / 1.109 GB, free: 15.49 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.04212, allocations: 3.938 kB / 1.109 GB, free: 15.49 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.004416/0.04654, allocations: 1.941 MB / 1.111 GB, free: 13.49 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.04658, allocations: 8.031 kB / 1.111 GB, free: 13.48 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.04891, allocations: 0.5114 MB / 1.112 GB, free: 12.97 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.05077, allocations: 0.7579 MB / 1.113 GB, free: 12.18 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.05086, allocations: 78.45 kB / 1.113 GB, free: 12.11 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.05106, allocations: 115.9 kB / 1.113 GB, free: 11.99 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.05344, allocations: 1.315 MB / 1.114 GB, free: 10.59 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.05348, allocations: 4 kB / 1.114 GB, free: 10.58 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.05359, allocations: 51.98 kB / 1.114 GB, free: 10.53 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.05362, allocations: 24 kB / 1.114 GB, free: 10.51 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.05588, allocations: 1.085 MB / 1.115 GB, free: 9.41 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008251/0.06413, allocations: 4.59 MB / 1.12 GB, free: 4.68 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.06669, allocations: 0.9052 MB / 1.121 GB, free: 3.746 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.0674, allocations: 352.5 kB / 1.121 GB, free: 3.383 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-05/0.06749, allocations: 28.42 kB / 1.121 GB, free: 3.355 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.06852, allocations: 0.5356 MB / 1.121 GB, free: 2.777 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.655e-06/0.06853, allocations: 4 kB / 1.121 GB, free: 2.773 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.005076/0.0736, allocations: 1.495 MB / 1.123 GB, free: 1.223 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.07379, allocations: 222.3 kB / 1.123 GB, free: 0.957 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.07498, allocations: 0.8352 MB / 1.124 GB, free: 108 kB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.07504, allocations: 45.7 kB / 1.124 GB, free: 56 kB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/0.07565, allocations: 0.612 MB / 1.125 GB, free: 15.43 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.07593, allocations: 262 kB / 1.125 GB, free: 15.18 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.0763, allocations: 232.3 kB / 1.125 GB, free: 14.94 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003995/0.0767, allocations: 0.6055 MB / 1.126 GB, free: 14.32 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.0774, allocations: 341.2 kB / 1.126 GB, free: 13.98 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.07845, allocations: 0.7207 MB / 1.127 GB, free: 13.1 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.08017, allocations: 1.051 MB / 1.128 GB, free: 11.89 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.08018, allocations: 4 kB / 1.128 GB, free: 11.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002727/0.0829, allocations: 1.206 MB / 1.129 GB, free: 10.64 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.08299, allocations: 67.39 kB / 1.129 GB, free: 10.56 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.08301, allocations: 4 kB / 1.129 GB, free: 10.56 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.08356, allocations: 99.83 kB / 1.129 GB, free: 10.46 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.08449, allocations: 219.6 kB / 1.129 GB, free: 10.24 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.08683, allocations: 2.014 MB / 1.131 GB, free: 8.098 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.08783, allocations: 103.3 kB / 1.131 GB, free: 7.996 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.08792, allocations: 47.97 kB / 1.131 GB, free: 7.949 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.0007999/0.08872, allocations: 366.3 kB / 1.132 GB, free: 7.57 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.08898, allocations: 111.5 kB / 1.132 GB, free: 7.461 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.09138, allocations: 1.138 MB / 1.133 GB, free: 6.277 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.09139, allocations: 8 kB / 1.133 GB, free: 6.27 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.09139, allocations: 0 / 1.133 GB, free: 6.27 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.09141, allocations: 7.984 kB / 1.133 GB, free: 6.262 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.09618, allocations: 2.189 MB / 1.135 GB, free: 3.992 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.09619, allocations: 0 / 1.135 GB, free: 3.992 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.09667, allocations: 119.8 kB / 1.135 GB, free: 3.875 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008576/0.09752, allocations: 346.8 kB / 1.136 GB, free: 3.52 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.614e-05/0.09762, allocations: 39.91 kB / 1.136 GB, free: 3.48 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.09927, allocations: 1.223 MB / 1.137 GB, free: 2.207 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.09927, allocations: 0 / 1.137 GB, free: 2.207 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.1029, allocations: 1.702 MB / 1.138 GB, free: 440 kB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.1033, allocations: 155.2 kB / 1.139 GB, free: 284 kB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.1035, allocations: 24 kB / 1.139 GB, free: 260 kB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.1041, allocations: 35.97 kB / 1.139 GB, free: 224 kB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.1042, allocations: 60.5 kB / 1.139 GB, free: 164 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.1043, allocations: 39.95 kB / 1.139 GB, free: 124 kB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0008391/0.1052, allocations: 0.5185 MB / 1.139 GB, free: 15.61 MB / 1.089 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1052, allocations: 0 / 1.139 GB, free: 15.61 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001252/0.1064, allocations: 351 kB / 1.14 GB, free: 15.26 MB / 1.089 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.004158/0.1106, allocations: 0.7514 MB / 1.14 GB, free: 14.79 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.113, allocations: 1.2 MB / 1.141 GB, free: 13.51 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.113, allocations: 0 / 1.141 GB, free: 13.51 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1141, allocations: 0.5506 MB / 1.142 GB, free: 12.92 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1151, allocations: 180 kB / 1.142 GB, free: 12.75 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.1195, allocations: 1.798 MB / 1.144 GB, free: 10.89 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.1201, allocations: 452.1 kB / 1.144 GB, free: 10.41 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000492/0.1206, allocations: 130.2 kB / 1.144 GB, free: 10.29 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1208, allocations: 80.45 kB / 1.145 GB, free: 10.21 MB / 1.089 GB Notification: Performance of SimCode: time 1.763e-06/0.1208, allocations: 0 / 1.145 GB, free: 10.21 MB / 1.089 GB Notification: Performance of Templates: time 0.02768/0.1485, allocations: 12.55 MB / 1.157 GB, free: 13.79 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.531943244975992]