Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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.03275/0.03275, allocations: 4.235 MB / 23.59 MB, free: 0.7969 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.001536/0.001536, allocations: 81.2 kB / 28.04 MB, free: 1.996 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.001887/0.001887, allocations: 161.9 kB / 32.61 MB, free: 3.641 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.491/1.491, allocations: 177.2 MB / 214.2 MB, free: 15.17 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.338/3.338, allocations: 429.4 MB / 0.6849 GB, free: 404 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.01193/0.01193, allocations: 1.982 MB / 0.8801 GB, free: 10.71 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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.09 GB, free: 3.797 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.041e-05, allocations: 4.703 kB / 1.09 GB, free: 3.793 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.009737/0.009768, allocations: 6.601 MB / 1.096 GB, free: 13.14 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.007719/0.01749, allocations: 4.073 MB / 1.1 GB, free: 9.059 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/0.01841, allocations: 23.94 kB / 1.1 GB, free: 9.035 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.02154, allocations: 1.178 MB / 1.101 GB, free: 7.852 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.02375, allocations: 0.7571 MB / 1.102 GB, free: 7.09 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.0255, allocations: 0.535 MB / 1.103 GB, free: 6.566 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.02734, allocations: 1.463 MB / 1.104 GB, free: 5.098 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.02875, allocations: 0.9265 MB / 1.105 GB, free: 4.145 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.02988, allocations: 0.8418 MB / 1.106 GB, free: 3.301 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.03077, allocations: 0.5571 MB / 1.106 GB, free: 2.742 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.03098, allocations: 144 kB / 1.106 GB, free: 2.602 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.03195, allocations: 471.3 kB / 1.107 GB, free: 2.141 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.03228, allocations: 330.8 kB / 1.107 GB, free: 1.816 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.03282, allocations: 450.8 kB / 1.108 GB, free: 1.375 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.03536, allocations: 1.924 MB / 1.109 GB, free: 15.45 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.03536, allocations: 0 / 1.109 GB, free: 15.45 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.233e-06/0.03537, allocations: 4 kB / 1.109 GB, free: 15.44 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.03538, allocations: 0 / 1.109 GB, free: 15.44 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.004409/0.03979, allocations: 1.949 MB / 1.111 GB, free: 13.44 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.03982, allocations: 8.031 kB / 1.111 GB, free: 13.43 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.0422, allocations: 0.4997 MB / 1.112 GB, free: 12.93 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.04398, allocations: 0.7501 MB / 1.113 GB, free: 12.15 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.04408, allocations: 86.45 kB / 1.113 GB, free: 12.06 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.04426, allocations: 119.9 kB / 1.113 GB, free: 11.95 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.04661, allocations: 1.315 MB / 1.114 GB, free: 10.54 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.04664, allocations: 3.938 kB / 1.114 GB, free: 10.54 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.04675, allocations: 44 kB / 1.114 GB, free: 10.49 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.04678, allocations: 24 kB / 1.114 GB, free: 10.47 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.04907, allocations: 1.088 MB / 1.115 GB, free: 9.367 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007446/0.05652, allocations: 4.586 MB / 1.12 GB, free: 4.641 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.05902, allocations: 0.9129 MB / 1.121 GB, free: 3.699 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.05971, allocations: 360.4 kB / 1.121 GB, free: 3.328 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 9.644e-05/0.0598, allocations: 28.42 kB / 1.121 GB, free: 3.301 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.06074, allocations: 0.5395 MB / 1.121 GB, free: 2.719 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.06074, allocations: 0 / 1.121 GB, free: 2.719 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.005137/0.06588, allocations: 1.499 MB / 1.123 GB, free: 1.164 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.06604, allocations: 218.3 kB / 1.123 GB, free: 0.9023 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.06717, allocations: 0.8391 MB / 1.124 GB, free: 48 kB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.06723, allocations: 41.7 kB / 1.124 GB, free: 0 / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.06781, allocations: 0.6198 MB / 1.125 GB, free: 15.37 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.06807, allocations: 250 kB / 1.125 GB, free: 15.12 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.06842, allocations: 228.2 kB / 1.125 GB, free: 14.89 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003824/0.06881, allocations: 0.6055 MB / 1.126 GB, free: 14.28 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.06949, allocations: 345.3 kB / 1.126 GB, free: 13.93 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.07054, allocations: 0.7207 MB / 1.127 GB, free: 13.05 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.07224, allocations: 1.055 MB / 1.128 GB, free: 11.83 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.07225, allocations: 0 / 1.128 GB, free: 11.83 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002651/0.0749, allocations: 1.214 MB / 1.129 GB, free: 10.58 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.07497, allocations: 63.39 kB / 1.129 GB, free: 10.51 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.07498, allocations: 8 kB / 1.129 GB, free: 10.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.07549, allocations: 83.61 kB / 1.129 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.07639, allocations: 219.9 kB / 1.129 GB, free: 10.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.07851, allocations: 2.022 MB / 1.131 GB, free: 8.047 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.07923, allocations: 99.45 kB / 1.131 GB, free: 7.949 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.07932, allocations: 43.98 kB / 1.131 GB, free: 7.906 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.000585/0.0799, allocations: 378.4 kB / 1.132 GB, free: 7.516 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.08012, allocations: 107.5 kB / 1.132 GB, free: 7.41 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.08252, allocations: 1.13 MB / 1.133 GB, free: 6.234 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.08253, allocations: 11.98 kB / 1.133 GB, free: 6.223 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.08254, allocations: 0 / 1.133 GB, free: 6.223 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.08254, allocations: 0 / 1.133 GB, free: 6.223 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.08697, allocations: 2.205 MB / 1.135 GB, free: 3.938 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.08697, allocations: 0 / 1.135 GB, free: 3.938 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.08742, allocations: 107.9 kB / 1.135 GB, free: 3.832 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009026/0.08833, allocations: 350.8 kB / 1.136 GB, free: 3.473 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.0884, allocations: 35.91 kB / 1.136 GB, free: 3.438 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.08995, allocations: 1.23 MB / 1.137 GB, free: 2.156 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.08995, allocations: 0 / 1.137 GB, free: 2.156 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.09337, allocations: 1.695 MB / 1.138 GB, free: 396 kB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.09377, allocations: 167.2 kB / 1.139 GB, free: 228 kB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.0939, allocations: 20 kB / 1.139 GB, free: 208 kB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.09442, allocations: 43.91 kB / 1.139 GB, free: 164 kB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.09454, allocations: 52.5 kB / 1.139 GB, free: 112 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.09462, allocations: 31.98 kB / 1.139 GB, free: 80 kB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007308/0.09535, allocations: 0.5185 MB / 1.139 GB, free: 15.56 MB / 1.089 GB Notification: Performance of sort global known variables: time 9e-08/0.09535, allocations: 0 / 1.139 GB, free: 15.56 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001089/0.09644, allocations: 355 kB / 1.14 GB, free: 15.21 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.004029/0.1005, allocations: 0.7496 MB / 1.14 GB, free: 14.74 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.1028, allocations: 1.197 MB / 1.141 GB, free: 13.47 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1028, allocations: 256 / 1.141 GB, free: 13.47 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0009848/0.1038, allocations: 0.5573 MB / 1.142 GB, free: 12.87 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.1047, allocations: 169.6 kB / 1.142 GB, free: 12.71 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.1085, allocations: 1.81 MB / 1.144 GB, free: 10.84 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.109, allocations: 444.2 kB / 1.144 GB, free: 10.37 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004637/0.1095, allocations: 134.2 kB / 1.144 GB, free: 10.23 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.1098, allocations: 88.45 kB / 1.145 GB, free: 10.15 MB / 1.089 GB Notification: Performance of SimCode: time 1.002e-06/0.1098, allocations: 0 / 1.145 GB, free: 10.15 MB / 1.089 GB Notification: Performance of Templates: time 0.02526/0.135, allocations: 12.55 MB / 1.157 GB, free: 13.74 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.553756574052386]