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.03023/0.03023, allocations: 4.23 MB / 23.58 MB, free: 0.7852 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.001262/0.001262, allocations: 82.95 kB / 28.03 MB, free: 2.008 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.001461/0.001461, allocations: 158 kB / 32.6 MB, free: 3.648 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.418/1.418, 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.213/3.213, allocations: 429.6 MB / 0.685 GB, free: 288 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.01167/0.01167, allocations: 1.978 MB / 0.8803 GB, free: 10.57 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 2.134e-06/2.134e-06, allocations: 0 / 1.09 GB, free: 3.605 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.286e-05, allocations: 6.25 kB / 1.09 GB, free: 3.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.01539/0.01542, allocations: 6.165 MB / 1.096 GB, free: 13.39 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.02759, allocations: 3.991 MB / 1.1 GB, free: 9.383 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009434/0.02853, allocations: 27.88 kB / 1.1 GB, free: 9.355 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.03178, allocations: 1.123 MB / 1.101 GB, free: 8.227 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.03402, allocations: 0.7415 MB / 1.102 GB, free: 7.48 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.03579, allocations: 0.5298 MB / 1.102 GB, free: 6.957 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.03783, allocations: 1.455 MB / 1.104 GB, free: 5.496 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.03932, allocations: 0.9303 MB / 1.104 GB, free: 4.539 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.04056, allocations: 0.8379 MB / 1.105 GB, free: 3.699 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000865/0.04143, allocations: 0.5297 MB / 1.106 GB, free: 3.168 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.04165, allocations: 144 kB / 1.106 GB, free: 3.027 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/0.04261, allocations: 467.3 kB / 1.106 GB, free: 2.57 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.04295, allocations: 322.8 kB / 1.107 GB, free: 2.254 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.04353, allocations: 458.8 kB / 1.107 GB, free: 1.805 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.04615, allocations: 1.92 MB / 1.109 GB, free: 15.88 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.04615, allocations: 0 / 1.109 GB, free: 15.88 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.092e-06/0.04615, allocations: 0 / 1.109 GB, free: 15.88 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.04617, allocations: 4 kB / 1.109 GB, free: 15.88 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.004639/0.05081, allocations: 1.771 MB / 1.111 GB, free: 14.05 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.05085, allocations: 12.03 kB / 1.111 GB, free: 14.04 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.05331, allocations: 0.4958 MB / 1.111 GB, free: 13.55 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.05543, allocations: 0.7669 MB / 1.112 GB, free: 12.75 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.05553, allocations: 82.45 kB / 1.112 GB, free: 12.67 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.05574, allocations: 111.9 kB / 1.112 GB, free: 12.56 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.05831, allocations: 1.271 MB / 1.113 GB, free: 11.21 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.05834, allocations: 4 kB / 1.113 GB, free: 11.2 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.05847, allocations: 48 kB / 1.113 GB, free: 11.16 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.0585, allocations: 24 kB / 1.113 GB, free: 11.13 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.06104, allocations: 1.147 MB / 1.115 GB, free: 9.973 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.06832, allocations: 3.7 MB / 1.118 GB, free: 6.152 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.07109, allocations: 0.9413 MB / 1.119 GB, free: 5.191 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/0.0719, allocations: 346.8 kB / 1.119 GB, free: 4.832 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.07199, allocations: 32.42 kB / 1.12 GB, free: 4.801 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.07305, allocations: 0.5207 MB / 1.12 GB, free: 4.238 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.444e-06/0.07306, allocations: 0 / 1.12 GB, free: 4.238 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.006388/0.07944, allocations: 1.649 MB / 1.122 GB, free: 2.535 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.07962, allocations: 226.3 kB / 1.122 GB, free: 2.266 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.08083, allocations: 0.7032 MB / 1.123 GB, free: 1.551 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.0809, allocations: 45.69 kB / 1.123 GB, free: 1.5 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.08145, allocations: 0.535 MB / 1.123 GB, free: 0.957 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.08171, allocations: 246 kB / 1.123 GB, free: 0.7148 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.08206, allocations: 190.5 kB / 1.124 GB, free: 0.5234 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.08232, allocations: 386.7 kB / 1.124 GB, free: 140 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.08316, allocations: 365.2 kB / 1.124 GB, free: 15.77 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.08426, allocations: 0.6217 MB / 1.125 GB, free: 15.03 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.08615, allocations: 0.9669 MB / 1.126 GB, free: 13.93 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.08616, allocations: 0 / 1.126 GB, free: 13.93 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002871/0.08903, allocations: 1.242 MB / 1.127 GB, free: 12.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.0891, allocations: 63.39 kB / 1.127 GB, free: 12.58 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.08912, allocations: 8.281 kB / 1.127 GB, free: 12.57 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.08965, allocations: 88.78 kB / 1.127 GB, free: 12.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/0.09062, allocations: 219.6 kB / 1.127 GB, free: 12.27 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.09268, allocations: 1.463 MB / 1.129 GB, free: 10.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.0935, allocations: 103.3 kB / 1.129 GB, free: 10.6 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.09359, allocations: 52.14 kB / 1.129 GB, free: 10.55 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.0005838/0.09418, allocations: 343.6 kB / 1.129 GB, free: 10.19 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.09441, allocations: 115.4 kB / 1.129 GB, free: 10.08 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.09709, allocations: 1.15 MB / 1.13 GB, free: 8.875 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.09709, allocations: 4 kB / 1.131 GB, free: 8.871 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.0971, allocations: 4 kB / 1.131 GB, free: 8.867 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.09711, allocations: 7.984 kB / 1.131 GB, free: 8.859 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.1016, allocations: 1.97 MB / 1.132 GB, free: 6.816 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1016, allocations: 0 / 1.132 GB, free: 6.816 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.1021, allocations: 107.9 kB / 1.133 GB, free: 6.711 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.1031, allocations: 371.9 kB / 1.133 GB, free: 6.332 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.1032, allocations: 35.91 kB / 1.133 GB, free: 6.297 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.1049, allocations: 0.9556 MB / 1.134 GB, free: 5.297 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1049, allocations: 8 kB / 1.134 GB, free: 5.289 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.1089, allocations: 1.702 MB / 1.136 GB, free: 3.523 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.1094, allocations: 171.1 kB / 1.136 GB, free: 3.355 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.1095, allocations: 20 kB / 1.136 GB, free: 3.336 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.1101, allocations: 47.97 kB / 1.136 GB, free: 3.289 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.1103, allocations: 52.5 kB / 1.136 GB, free: 3.234 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.1103, allocations: 35.97 kB / 1.136 GB, free: 3.199 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007379/0.1111, allocations: 483 kB / 1.136 GB, free: 2.734 MB / 1.073 GB Notification: Performance of sort global known variables: time 9e-08/0.1111, allocations: 0 / 1.136 GB, free: 2.734 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001107/0.1122, allocations: 359 kB / 1.137 GB, free: 2.383 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.002957/0.1151, allocations: 0.7611 MB / 1.137 GB, free: 1.902 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.1176, allocations: 1.102 MB / 1.138 GB, free: 0.7383 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1176, allocations: 0 / 1.138 GB, free: 0.7383 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.1186, allocations: 0.5148 MB / 1.139 GB, free: 192 kB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.1196, allocations: 171.8 kB / 1.139 GB, free: 24 kB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.1233, allocations: 1.831 MB / 1.141 GB, free: 14.14 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.1239, allocations: 452.1 kB / 1.141 GB, free: 13.66 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.1243, allocations: 130.2 kB / 1.141 GB, free: 13.53 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.1246, allocations: 84.39 kB / 1.142 GB, free: 13.45 MB / 1.089 GB Notification: Performance of SimCode: time 6.01e-07/0.1246, allocations: 0 / 1.142 GB, free: 13.45 MB / 1.089 GB Notification: Performance of Templates: time 0.02573/0.1503, allocations: 12.51 MB / 1.154 GB, free: 1.07 MB / 1.089 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=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.247856530942954]