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.02123/0.02123, allocations: 4.231 MB / 23.79 MB, free: 0.7422 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.00109/0.00109, allocations: 87.3 kB / 28.3 MB, free: 1.922 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.001344/0.001344, allocations: 163 kB / 32.93 MB, free: 3.508 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.8456/0.8456, allocations: 177.2 MB / 214.6 MB, free: 15.18 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.956/1.956, allocations: 429.5 MB / 0.6854 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.007388/0.007388, allocations: 1.981 MB / 0.8807 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.262e-06/1.262e-06, allocations: 0 / 1.091 GB, free: 3.332 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.541e-05, allocations: 2.312 kB / 1.091 GB, free: 3.328 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005543/0.005559, allocations: 6.663 MB / 1.097 GB, free: 12.62 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.009856, allocations: 4.118 MB / 1.101 GB, free: 8.492 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.01017, allocations: 23.88 kB / 1.101 GB, free: 8.469 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.0116, allocations: 1.185 MB / 1.102 GB, free: 7.277 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009297/0.01253, allocations: 0.7648 MB / 1.103 GB, free: 6.508 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.01336, allocations: 0.5236 MB / 1.104 GB, free: 5.988 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.01421, allocations: 1.467 MB / 1.105 GB, free: 4.516 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.01502, allocations: 0.9148 MB / 1.106 GB, free: 3.574 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.01563, allocations: 0.8535 MB / 1.107 GB, free: 2.719 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.01612, allocations: 0.5493 MB / 1.107 GB, free: 2.168 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.01624, allocations: 140 kB / 1.107 GB, free: 2.031 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.01706, allocations: 475.3 kB / 1.108 GB, free: 1.566 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.01724, allocations: 318.8 kB / 1.108 GB, free: 1.254 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.01754, allocations: 450.8 kB / 1.109 GB, free: 0.8125 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.01869, allocations: 1.296 MB / 1.11 GB, free: 15.51 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.0187, allocations: 0 / 1.11 GB, free: 15.51 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.102e-06/0.0187, allocations: 0 / 1.11 GB, free: 15.51 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.0187, allocations: 0 / 1.11 GB, free: 15.51 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.002211/0.02092, allocations: 1.86 MB / 1.112 GB, free: 13.59 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.02095, allocations: 12.02 kB / 1.112 GB, free: 13.58 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.02213, allocations: 0.5035 MB / 1.112 GB, free: 13.08 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.0229, allocations: 0.6644 MB / 1.113 GB, free: 12.38 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.02296, allocations: 82.45 kB / 1.113 GB, free: 12.3 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.02306, allocations: 107.9 kB / 1.113 GB, free: 12.19 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.02418, allocations: 1.022 MB / 1.114 GB, free: 11.07 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.02421, allocations: 7.953 kB / 1.114 GB, free: 11.07 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.02427, allocations: 44 kB / 1.114 GB, free: 11.02 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.02429, allocations: 28 kB / 1.114 GB, free: 11 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.02519, allocations: 0.6823 MB / 1.115 GB, free: 10.3 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.02883, allocations: 3.994 MB / 1.119 GB, free: 6.172 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.02994, allocations: 0.8245 MB / 1.119 GB, free: 5.32 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.03022, allocations: 243.3 kB / 1.12 GB, free: 5.062 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.03027, allocations: 32.42 kB / 1.12 GB, free: 5.031 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.03067, allocations: 436.5 kB / 1.12 GB, free: 4.559 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.034e-06/0.03067, allocations: 4 kB / 1.12 GB, free: 4.555 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002278/0.03295, allocations: 1.206 MB / 1.121 GB, free: 3.297 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.03303, allocations: 222.3 kB / 1.122 GB, free: 3.031 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.03354, allocations: 0.6907 MB / 1.122 GB, free: 2.328 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.03358, allocations: 41.7 kB / 1.122 GB, free: 2.281 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.03383, allocations: 0.5923 MB / 1.123 GB, free: 1.68 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.03395, allocations: 242.1 kB / 1.123 GB, free: 1.441 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.03413, allocations: 200.2 kB / 1.123 GB, free: 1.238 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.03429, allocations: 0.5625 MB / 1.124 GB, free: 0.6641 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.03454, allocations: 221.3 kB / 1.124 GB, free: 444 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.03494, allocations: 0.584 MB / 1.125 GB, free: 15.7 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.03559, allocations: 0.8015 MB / 1.125 GB, free: 14.73 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.0356, allocations: 0 / 1.125 GB, free: 14.73 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001068/0.03666, allocations: 0.9758 MB / 1.126 GB, free: 13.71 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.0367, allocations: 59.41 kB / 1.126 GB, free: 13.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.03671, allocations: 12.09 kB / 1.126 GB, free: 13.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.03694, allocations: 91.55 kB / 1.126 GB, free: 13.54 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.03765, allocations: 223.6 kB / 1.127 GB, free: 13.32 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.03886, allocations: 1.987 MB / 1.129 GB, free: 11.21 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.0394, allocations: 99.34 kB / 1.129 GB, free: 11.11 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.03946, allocations: 47.97 kB / 1.129 GB, free: 11.07 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.0002988/0.03976, allocations: 286.4 kB / 1.129 GB, free: 10.76 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.0399, allocations: 111.5 kB / 1.129 GB, free: 10.65 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.04091, allocations: 0.9032 MB / 1.13 GB, free: 9.699 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.04091, allocations: 12 kB / 1.13 GB, free: 9.688 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.04091, allocations: 0 / 1.13 GB, free: 9.688 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.04092, allocations: 3.984 kB / 1.13 GB, free: 9.684 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.04298, allocations: 1.779 MB / 1.132 GB, free: 7.824 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.04298, allocations: 4.031 kB / 1.132 GB, free: 7.82 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.04322, allocations: 115.8 kB / 1.132 GB, free: 7.703 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003443/0.04357, allocations: 294.8 kB / 1.132 GB, free: 7.398 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.04362, allocations: 39.91 kB / 1.132 GB, free: 7.359 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005682/0.04418, allocations: 1.074 MB / 1.133 GB, free: 6.234 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.04418, allocations: 0 / 1.133 GB, free: 6.234 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.04552, allocations: 1.3 MB / 1.135 GB, free: 4.859 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.04574, allocations: 171.2 kB / 1.135 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.04582, allocations: 27.94 kB / 1.135 GB, free: 4.664 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.04606, allocations: 39.97 kB / 1.135 GB, free: 4.625 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.04614, allocations: 56.5 kB / 1.135 GB, free: 4.566 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.04618, allocations: 35.97 kB / 1.135 GB, free: 4.531 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003506/0.04653, allocations: 439 kB / 1.135 GB, free: 4.105 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.04653, allocations: 0 / 1.135 GB, free: 4.105 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0006815/0.04721, allocations: 359.1 kB / 1.136 GB, free: 3.754 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.001345/0.04856, allocations: 0.7121 MB / 1.136 GB, free: 3.281 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0009833/0.04954, allocations: 0.9613 MB / 1.137 GB, free: 2.25 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04955, allocations: 5.562 kB / 1.137 GB, free: 2.246 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.04998, allocations: 450.7 kB / 1.138 GB, free: 1.762 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.05047, allocations: 179 kB / 1.138 GB, free: 1.594 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.05266, allocations: 1.685 MB / 1.139 GB, free: 15.85 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.05278, allocations: 188.9 kB / 1.14 GB, free: 15.64 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.05303, allocations: 118 kB / 1.14 GB, free: 15.53 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.05319, allocations: 92.44 kB / 1.14 GB, free: 15.44 MB / 1.089 GB Notification: Performance of SimCode: time 1.273e-06/0.05319, allocations: 0 / 1.14 GB, free: 15.44 MB / 1.089 GB Notification: Performance of Templates: time 0.01631/0.0695, allocations: 14.06 MB / 1.154 GB, free: 1.527 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.605579053983092]