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.01693/0.01693, allocations: 4.231 MB / 24.33 MB, free: 188 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.0007309/0.0007309, allocations: 79.22 kB / 28.77 MB, free: 1.91 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.0009305/0.0009305, allocations: 159.5 kB / 33.33 MB, free: 3.566 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.8489/0.8489, allocations: 177.2 MB / 214.9 MB, free: 15.19 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 1.973/1.973, allocations: 429.5 MB / 0.6856 GB, free: 440 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.006969/0.006969, allocations: 1.973 MB / 0.8808 GB, free: 10.73 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.894e-06/1.894e-06, allocations: 0 / 1.09 GB, free: 3.773 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/2.022e-05, allocations: 6.25 kB / 1.09 GB, free: 3.766 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.00569/0.00571, allocations: 6.63 MB / 1.097 GB, free: 13.09 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01001, allocations: 4.104 MB / 1.101 GB, free: 8.977 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.01041, allocations: 19.94 kB / 1.101 GB, free: 8.957 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.01187, allocations: 1.181 MB / 1.102 GB, free: 7.77 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.01287, allocations: 0.761 MB / 1.103 GB, free: 7.004 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.0137, allocations: 0.5279 MB / 1.103 GB, free: 6.484 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.01462, allocations: 1.463 MB / 1.105 GB, free: 5.016 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.01543, allocations: 0.9264 MB / 1.106 GB, free: 4.062 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.01601, allocations: 0.8302 MB / 1.106 GB, free: 3.23 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.01649, allocations: 0.5648 MB / 1.107 GB, free: 2.664 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.01661, allocations: 144 kB / 1.107 GB, free: 2.523 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.01706, allocations: 471.3 kB / 1.108 GB, free: 2.062 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.01723, allocations: 326.8 kB / 1.108 GB, free: 1.742 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.01751, allocations: 450.8 kB / 1.108 GB, free: 1.301 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01858, allocations: 1.308 MB / 1.11 GB, free: 15.99 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01859, allocations: 0 / 1.11 GB, free: 15.99 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01859, allocations: 0 / 1.11 GB, free: 15.99 MB / 1.057 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.0186, allocations: 0 / 1.11 GB, free: 15.99 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.002195/0.02079, allocations: 1.863 MB / 1.111 GB, free: 14.07 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02083, allocations: 8.031 kB / 1.111 GB, free: 14.06 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.02215, allocations: 0.5035 MB / 1.112 GB, free: 13.56 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/0.02305, allocations: 0.7345 MB / 1.113 GB, free: 12.79 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.02309, allocations: 82.45 kB / 1.113 GB, free: 12.71 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.0232, allocations: 111.9 kB / 1.113 GB, free: 12.6 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.02429, allocations: 1.018 MB / 1.114 GB, free: 11.48 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.02431, allocations: 8 kB / 1.114 GB, free: 11.48 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.02438, allocations: 44 kB / 1.114 GB, free: 11.43 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.0244, allocations: 24 kB / 1.114 GB, free: 11.41 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.02529, allocations: 0.6924 MB / 1.115 GB, free: 10.71 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.02876, allocations: 3.924 MB / 1.118 GB, free: 6.648 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.02987, allocations: 0.8231 MB / 1.119 GB, free: 5.797 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.03014, allocations: 236.5 kB / 1.119 GB, free: 5.543 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.03019, allocations: 32.42 kB / 1.119 GB, free: 5.512 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.03059, allocations: 424.5 kB / 1.12 GB, free: 5.055 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.623e-06/0.03059, allocations: 0 / 1.12 GB, free: 5.055 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002066/0.03265, allocations: 1.179 MB / 1.121 GB, free: 3.82 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.03273, allocations: 226.3 kB / 1.121 GB, free: 3.551 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.03324, allocations: 0.679 MB / 1.122 GB, free: 2.855 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.03327, allocations: 45.64 kB / 1.122 GB, free: 2.805 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.03354, allocations: 0.5924 MB / 1.123 GB, free: 2.203 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.03366, allocations: 234.1 kB / 1.123 GB, free: 1.973 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.03384, allocations: 200.2 kB / 1.123 GB, free: 1.77 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.03398, allocations: 0.5625 MB / 1.123 GB, free: 1.195 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.03424, allocations: 221.3 kB / 1.124 GB, free: 0.9648 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.03463, allocations: 0.5801 MB / 1.124 GB, free: 236 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.03534, allocations: 0.7976 MB / 1.125 GB, free: 15.27 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.03535, allocations: 4 kB / 1.125 GB, free: 15.27 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001083/0.03643, allocations: 0.968 MB / 1.126 GB, free: 14.26 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.03647, allocations: 71.42 kB / 1.126 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.03648, allocations: 4 kB / 1.126 GB, free: 14.17 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.03672, allocations: 87.61 kB / 1.126 GB, free: 14.08 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.03715, allocations: 219.6 kB / 1.126 GB, free: 13.87 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/0.03812, allocations: 1.975 MB / 1.128 GB, free: 11.77 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.03844, allocations: 103.3 kB / 1.128 GB, free: 11.67 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.03849, allocations: 44.11 kB / 1.128 GB, free: 11.62 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.0002202/0.03871, allocations: 290.3 kB / 1.129 GB, free: 11.32 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.03882, allocations: 111.4 kB / 1.129 GB, free: 11.21 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.03978, allocations: 0.8955 MB / 1.13 GB, free: 10.26 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.03978, allocations: 8 kB / 1.13 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.03978, allocations: 0 / 1.13 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.03979, allocations: 7.984 kB / 1.13 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.04164, allocations: 1.756 MB / 1.131 GB, free: 8.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.04165, allocations: 0 / 1.131 GB, free: 8.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.04188, allocations: 111.9 kB / 1.132 GB, free: 8.301 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/0.04222, allocations: 262.8 kB / 1.132 GB, free: 8.027 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.04226, allocations: 31.91 kB / 1.132 GB, free: 7.996 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005232/0.04278, allocations: 1.066 MB / 1.133 GB, free: 6.879 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.04279, allocations: 3.938 kB / 1.133 GB, free: 6.875 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.04409, allocations: 1.293 MB / 1.134 GB, free: 5.512 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.04427, allocations: 151.2 kB / 1.134 GB, free: 5.363 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.04436, allocations: 24 kB / 1.134 GB, free: 5.34 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.0446, allocations: 43.97 kB / 1.134 GB, free: 5.297 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.04468, allocations: 52.5 kB / 1.134 GB, free: 5.242 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.04472, allocations: 35.97 kB / 1.134 GB, free: 5.207 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003143/0.04503, allocations: 431 kB / 1.135 GB, free: 4.789 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.04503, allocations: 0 / 1.135 GB, free: 4.789 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005989/0.04563, allocations: 355 kB / 1.135 GB, free: 4.441 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.001278/0.04691, allocations: 0.726 MB / 1.136 GB, free: 3.957 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.0478, allocations: 0.9587 MB / 1.137 GB, free: 2.926 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.0478, allocations: 0 / 1.137 GB, free: 2.926 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.0482, allocations: 447.1 kB / 1.137 GB, free: 2.445 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.04867, allocations: 173.6 kB / 1.137 GB, free: 2.285 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.05071, allocations: 1.689 MB / 1.139 GB, free: 0.5391 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.05082, allocations: 189 kB / 1.139 GB, free: 336 kB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.05106, allocations: 134.2 kB / 1.139 GB, free: 200 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.05121, allocations: 80.45 kB / 1.139 GB, free: 120 kB / 1.073 GB Notification: Performance of SimCode: time 6.61e-07/0.05121, allocations: 4 kB / 1.139 GB, free: 116 kB / 1.073 GB Notification: Performance of Templates: time 0.01404/0.06525, allocations: 12.57 MB / 1.152 GB, free: 3.695 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=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.388041333062574]