Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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.03016/0.03016, allocations: 4.234 MB / 23.58 MB, free: 0.7773 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.001176/0.001176, allocations: 84.59 kB / 28.04 MB, free: 2 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.001579/0.001579, allocations: 157.8 kB / 32.6 MB, free: 3.645 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.44/1.44, allocations: 177.2 MB / 214.2 MB, free: 15.16 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.215/3.215, allocations: 429.6 MB / 0.685 GB, free: 268 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.01152/0.01152, allocations: 1.972 MB / 0.8803 GB, free: 10.52 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 1.09 GB, free: 3.566 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.14e-05, allocations: 6.312 kB / 1.09 GB, free: 3.559 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.0155/0.01553, allocations: 6.172 MB / 1.096 GB, free: 13.34 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00775/0.02328, allocations: 3.997 MB / 1.1 GB, free: 9.336 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.02413, allocations: 23.94 kB / 1.1 GB, free: 9.312 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.02741, allocations: 1.123 MB / 1.101 GB, free: 8.184 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.0297, allocations: 0.7454 MB / 1.102 GB, free: 7.434 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.03155, allocations: 0.5312 MB / 1.102 GB, free: 6.91 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.03372, allocations: 1.463 MB / 1.104 GB, free: 5.441 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.03551, allocations: 0.9225 MB / 1.104 GB, free: 4.492 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.03719, allocations: 0.834 MB / 1.105 GB, free: 3.656 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.03829, allocations: 0.5336 MB / 1.106 GB, free: 3.121 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.03861, allocations: 152 kB / 1.106 GB, free: 2.973 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.03975, allocations: 467.3 kB / 1.106 GB, free: 2.516 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.04016, allocations: 322.8 kB / 1.107 GB, free: 2.199 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007569/0.04092, allocations: 450.8 kB / 1.107 GB, free: 1.758 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.04403, allocations: 1.92 MB / 1.109 GB, free: 15.83 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.04404, allocations: 0 / 1.109 GB, free: 15.83 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.613e-06/0.04404, allocations: 0 / 1.109 GB, free: 15.83 MB / 1.057 GB Notification: Performance of Transformations before backend: time 6.726e-05/0.04411, allocations: 0 / 1.109 GB, free: 15.83 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.005276/0.04938, allocations: 1.771 MB / 1.111 GB, free: 14.01 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.04942, allocations: 12.03 kB / 1.111 GB, free: 14 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.05199, allocations: 0.4997 MB / 1.111 GB, free: 13.5 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.05421, allocations: 0.7629 MB / 1.112 GB, free: 12.71 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.05432, allocations: 82.45 kB / 1.112 GB, free: 12.62 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.0546, allocations: 111.9 kB / 1.112 GB, free: 12.52 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.05741, allocations: 1.275 MB / 1.113 GB, free: 11.16 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.05746, allocations: 7.938 kB / 1.113 GB, free: 11.15 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.05758, allocations: 44 kB / 1.113 GB, free: 11.11 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/0.05764, allocations: 31.98 kB / 1.114 GB, free: 11.08 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.06026, allocations: 1.151 MB / 1.115 GB, free: 9.914 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007494/0.06775, allocations: 3.685 MB / 1.118 GB, free: 6.109 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.07064, allocations: 0.9449 MB / 1.119 GB, free: 5.145 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.07145, allocations: 354.8 kB / 1.119 GB, free: 4.777 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/0.07155, allocations: 24.42 kB / 1.12 GB, free: 4.754 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.07261, allocations: 0.5246 MB / 1.12 GB, free: 4.188 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.07262, allocations: 4 kB / 1.12 GB, free: 4.184 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.006286/0.0789, allocations: 1.645 MB / 1.122 GB, free: 2.484 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.07908, allocations: 230.2 kB / 1.122 GB, free: 2.211 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.08021, allocations: 0.6954 MB / 1.123 GB, free: 1.504 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.08029, allocations: 45.7 kB / 1.123 GB, free: 1.453 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.08083, allocations: 0.5389 MB / 1.123 GB, free: 0.9062 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.0811, allocations: 242 kB / 1.123 GB, free: 0.668 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.08144, allocations: 186.5 kB / 1.124 GB, free: 492 kB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.08169, allocations: 390.7 kB / 1.124 GB, free: 92 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.08254, allocations: 365.3 kB / 1.124 GB, free: 15.72 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.08364, allocations: 0.6295 MB / 1.125 GB, free: 14.97 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.08565, allocations: 0.9591 MB / 1.126 GB, free: 13.88 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.08566, allocations: 4 kB / 1.126 GB, free: 13.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002853/0.08852, allocations: 1.239 MB / 1.127 GB, free: 12.61 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.08859, allocations: 63.39 kB / 1.127 GB, free: 12.53 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.08861, allocations: 8 kB / 1.127 GB, free: 12.52 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.08914, allocations: 84.78 kB / 1.127 GB, free: 12.44 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.0901, allocations: 215.8 kB / 1.127 GB, free: 12.23 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.09199, allocations: 1.463 MB / 1.129 GB, free: 10.66 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/0.09283, allocations: 111.5 kB / 1.129 GB, free: 10.55 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/0.09293, allocations: 43.98 kB / 1.129 GB, free: 10.51 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.0005805/0.09351, allocations: 347.5 kB / 1.129 GB, free: 10.15 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.09377, allocations: 107.5 kB / 1.129 GB, free: 10.04 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.09647, allocations: 1.17 MB / 1.131 GB, free: 8.82 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.09648, allocations: 8 kB / 1.131 GB, free: 8.812 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.09648, allocations: 0 / 1.131 GB, free: 8.812 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.0965, allocations: 7.984 kB / 1.131 GB, free: 8.805 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/0.1013, allocations: 1.954 MB / 1.132 GB, free: 6.777 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1013, allocations: 4 kB / 1.132 GB, free: 6.773 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.1017, allocations: 107.8 kB / 1.133 GB, free: 6.668 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009782/0.1027, allocations: 368 kB / 1.133 GB, free: 6.293 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/0.1028, allocations: 31.91 kB / 1.133 GB, free: 6.262 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.1044, allocations: 0.9673 MB / 1.134 GB, free: 5.25 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1045, allocations: 0 / 1.134 GB, free: 5.25 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.1084, allocations: 1.713 MB / 1.136 GB, free: 3.473 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.1088, allocations: 155.2 kB / 1.136 GB, free: 3.32 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.109, allocations: 31.92 kB / 1.136 GB, free: 3.289 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.1096, allocations: 39.97 kB / 1.136 GB, free: 3.25 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.1097, allocations: 60.44 kB / 1.136 GB, free: 3.188 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.1098, allocations: 31.97 kB / 1.136 GB, free: 3.156 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007479/0.1106, allocations: 487 kB / 1.136 GB, free: 2.688 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.1106, allocations: 0 / 1.136 GB, free: 2.688 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001139/0.1117, allocations: 351 kB / 1.137 GB, free: 2.344 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.002998/0.1147, allocations: 0.7523 MB / 1.137 GB, free: 1.871 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.1171, allocations: 1.108 MB / 1.138 GB, free: 0.7031 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1171, allocations: 0 / 1.138 GB, free: 0.7031 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1182, allocations: 0.5174 MB / 1.139 GB, free: 152 kB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.1191, allocations: 174.8 kB / 1.139 GB, free: 15.98 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.1231, allocations: 1.83 MB / 1.141 GB, free: 14.09 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.1236, allocations: 444.2 kB / 1.141 GB, free: 13.62 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004823/0.1241, allocations: 130.2 kB / 1.141 GB, free: 13.49 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.1244, allocations: 88.45 kB / 1.142 GB, free: 13.4 MB / 1.089 GB Notification: Performance of SimCode: time 6.31e-07/0.1244, allocations: 11.88 kB / 1.142 GB, free: 13.39 MB / 1.089 GB Notification: Performance of Templates: time 0.02569/0.1501, allocations: 12.5 MB / 1.154 GB, free: 1.031 MB / 1.089 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.076141525991261]