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.05005/0.05005, allocations: 4.234 MB / 23.79 MB, free: 0.7383 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.0007884/0.0007884, allocations: 83.59 kB / 28.3 MB, free: 1.645 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.0008938/0.0008938, allocations: 162.5 kB / 32.93 MB, free: 3.23 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.9057/0.9057, allocations: 177.2 MB / 214.6 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.055/2.055, allocations: 429.5 MB / 0.6854 GB, free: 432 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.007588/0.007588, allocations: 1.982 MB / 0.8806 GB, free: 10.66 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.513e-06/1.513e-06, allocations: 0 / 1.091 GB, free: 3.32 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.623e-05, allocations: 6.312 kB / 1.091 GB, free: 3.312 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.008043/0.008069, allocations: 6.654 MB / 1.097 GB, free: 12.62 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.01432, allocations: 4.124 MB / 1.101 GB, free: 8.48 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.01619, allocations: 23.94 kB / 1.101 GB, free: 8.457 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.01811, allocations: 1.181 MB / 1.102 GB, free: 7.27 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.01946, allocations: 0.761 MB / 1.103 GB, free: 6.504 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.02062, allocations: 0.528 MB / 1.104 GB, free: 5.984 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.02197, allocations: 1.467 MB / 1.105 GB, free: 4.512 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.023, allocations: 0.9226 MB / 1.106 GB, free: 3.562 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.02377, allocations: 0.838 MB / 1.107 GB, free: 2.723 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.02434, allocations: 0.5648 MB / 1.107 GB, free: 2.156 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.0245, allocations: 144 kB / 1.107 GB, free: 2.016 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.02512, allocations: 471.3 kB / 1.108 GB, free: 1.555 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.02531, allocations: 326.8 kB / 1.108 GB, free: 1.234 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.02563, allocations: 450.8 kB / 1.109 GB, free: 0.793 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.02685, allocations: 1.312 MB / 1.11 GB, free: 15.48 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02685, allocations: 0 / 1.11 GB, free: 15.48 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02685, allocations: 4 kB / 1.11 GB, free: 15.47 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.02687, allocations: 0 / 1.11 GB, free: 15.47 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.002352/0.02922, allocations: 1.863 MB / 1.112 GB, free: 13.55 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.02926, allocations: 8.031 kB / 1.112 GB, free: 13.55 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.03049, allocations: 0.5036 MB / 1.112 GB, free: 13.04 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.03155, allocations: 0.7345 MB / 1.113 GB, free: 12.27 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.03163, allocations: 78.45 kB / 1.113 GB, free: 12.2 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.03179, allocations: 115.9 kB / 1.113 GB, free: 12.08 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.03315, allocations: 1.015 MB / 1.114 GB, free: 10.97 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.03317, allocations: 4 kB / 1.114 GB, free: 10.97 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.03324, allocations: 44 kB / 1.114 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.03326, allocations: 24 kB / 1.114 GB, free: 10.9 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.03419, allocations: 0.6862 MB / 1.115 GB, free: 10.2 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.03783, allocations: 3.94 MB / 1.119 GB, free: 6.125 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.03898, allocations: 0.8153 MB / 1.119 GB, free: 5.281 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.03926, allocations: 240.5 kB / 1.12 GB, free: 5.023 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.03932, allocations: 28.42 kB / 1.12 GB, free: 4.996 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.03973, allocations: 436.5 kB / 1.12 GB, free: 4.523 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.553e-06/0.03973, allocations: 0 / 1.12 GB, free: 4.523 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002567/0.0423, allocations: 1.167 MB / 1.121 GB, free: 3.305 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.04238, allocations: 222.3 kB / 1.121 GB, free: 3.039 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.043, allocations: 0.675 MB / 1.122 GB, free: 2.352 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.04305, allocations: 41.7 kB / 1.122 GB, free: 2.305 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.04336, allocations: 0.6001 MB / 1.123 GB, free: 1.695 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.0435, allocations: 238.1 kB / 1.123 GB, free: 1.461 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.0437, allocations: 200.1 kB / 1.123 GB, free: 1.258 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.04386, allocations: 0.5666 MB / 1.124 GB, free: 0.6797 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.04415, allocations: 225.3 kB / 1.124 GB, free: 456 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.04457, allocations: 0.5801 MB / 1.125 GB, free: 15.71 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.04526, allocations: 0.7898 MB / 1.125 GB, free: 14.76 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.04527, allocations: 4 kB / 1.125 GB, free: 14.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001226/0.0465, allocations: 0.9677 MB / 1.126 GB, free: 13.75 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.04655, allocations: 67.39 kB / 1.126 GB, free: 13.67 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.04656, allocations: 4 kB / 1.126 GB, free: 13.66 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.04683, allocations: 95.98 kB / 1.126 GB, free: 13.57 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.04747, allocations: 215.6 kB / 1.127 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.04858, allocations: 1.971 MB / 1.129 GB, free: 11.26 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.04901, allocations: 103.3 kB / 1.129 GB, free: 11.16 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.04907, allocations: 47.97 kB / 1.129 GB, free: 11.11 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.0003159/0.04939, allocations: 290.3 kB / 1.129 GB, free: 10.8 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.04952, allocations: 107.5 kB / 1.129 GB, free: 10.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.05054, allocations: 0.8955 MB / 1.13 GB, free: 9.75 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.05054, allocations: 8 kB / 1.13 GB, free: 9.742 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.05055, allocations: 4 kB / 1.13 GB, free: 9.738 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.05055, allocations: 7.984 kB / 1.13 GB, free: 9.73 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.05264, allocations: 1.748 MB / 1.132 GB, free: 7.906 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.05265, allocations: 8.016 kB / 1.132 GB, free: 7.898 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.05288, allocations: 111.8 kB / 1.132 GB, free: 7.789 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.05322, allocations: 262.8 kB / 1.132 GB, free: 7.516 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.05327, allocations: 31.91 kB / 1.132 GB, free: 7.484 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/0.05384, allocations: 1.067 MB / 1.133 GB, free: 6.367 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.05384, allocations: 0 / 1.133 GB, free: 6.367 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.05525, allocations: 1.285 MB / 1.134 GB, free: 5.008 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.05548, allocations: 155.3 kB / 1.134 GB, free: 4.855 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.05557, allocations: 27.98 kB / 1.135 GB, free: 4.828 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.05581, allocations: 35.98 kB / 1.135 GB, free: 4.793 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.05589, allocations: 52.55 kB / 1.135 GB, free: 4.738 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.05594, allocations: 39.95 kB / 1.135 GB, free: 4.699 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.000363/0.0563, allocations: 431 kB / 1.135 GB, free: 4.281 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.11e-07/0.0563, allocations: 0 / 1.135 GB, free: 4.281 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007062/0.05701, allocations: 355 kB / 1.135 GB, free: 3.934 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.001398/0.05841, allocations: 0.7267 MB / 1.136 GB, free: 3.449 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.05944, allocations: 0.9581 MB / 1.137 GB, free: 2.422 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.05944, allocations: 0 / 1.137 GB, free: 2.422 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.05987, allocations: 454.7 kB / 1.137 GB, free: 1.934 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.06037, allocations: 170.2 kB / 1.138 GB, free: 1.773 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.06263, allocations: 1.684 MB / 1.139 GB, free: 36 kB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.06276, allocations: 197 kB / 1.139 GB, free: 15.82 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002651/0.06302, allocations: 126.3 kB / 1.14 GB, free: 15.69 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.06319, allocations: 84.45 kB / 1.14 GB, free: 15.61 MB / 1.089 GB Notification: Performance of SimCode: time 9.42e-07/0.06319, allocations: 0 / 1.14 GB, free: 15.61 MB / 1.089 GB Notification: Performance of Templates: time 0.01598/0.07917, allocations: 12.56 MB / 1.152 GB, free: 3.195 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: 6.927966800983995]