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.01754/0.01754, allocations: 4.23 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.0007819/0.0007819, allocations: 87.81 kB / 28.3 MB, free: 1.777 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.00088/0.00088, allocations: 156 kB / 32.92 MB, free: 3.367 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.8755/0.8755, 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 2.052/2.052, allocations: 429.5 MB / 0.6854 GB, free: 428 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.007301/0.007301, allocations: 1.98 MB / 0.8806 GB, free: 10.67 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.233e-06/1.233e-06, allocations: 0 / 1.091 GB, free: 3.34 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.119e-05, allocations: 2.312 kB / 1.091 GB, free: 3.336 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006154/0.006175, allocations: 6.659 MB / 1.097 GB, free: 12.63 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004799/0.01097, allocations: 4.124 MB / 1.101 GB, free: 8.496 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.01141, allocations: 23.94 kB / 1.101 GB, free: 8.473 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.013, allocations: 1.182 MB / 1.102 GB, free: 7.285 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.01425, allocations: 0.7609 MB / 1.103 GB, free: 6.52 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.01534, allocations: 0.5353 MB / 1.104 GB, free: 5.992 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.01656, allocations: 1.463 MB / 1.105 GB, free: 4.523 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.0178, allocations: 0.9265 MB / 1.106 GB, free: 3.57 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.01851, allocations: 0.8379 MB / 1.107 GB, free: 2.73 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.01905, allocations: 0.5571 MB / 1.107 GB, free: 2.172 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.01919, allocations: 148 kB / 1.107 GB, free: 2.027 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.01986, allocations: 475.3 kB / 1.108 GB, free: 1.562 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.02005, allocations: 326.8 kB / 1.108 GB, free: 1.242 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.02038, allocations: 454.8 kB / 1.109 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.02168, allocations: 1.3 MB / 1.11 GB, free: 15.49 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.02169, allocations: 0 / 1.11 GB, free: 15.49 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.092e-06/0.02169, allocations: 0 / 1.11 GB, free: 15.49 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.0217, allocations: 0 / 1.11 GB, free: 15.49 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.002354/0.02405, allocations: 1.867 MB / 1.112 GB, free: 13.57 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.02409, allocations: 12.03 kB / 1.112 GB, free: 13.56 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.02532, allocations: 0.4958 MB / 1.112 GB, free: 13.06 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.0263, allocations: 0.7383 MB / 1.113 GB, free: 12.29 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.02635, allocations: 78.45 kB / 1.113 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.02649, allocations: 111.9 kB / 1.113 GB, free: 12.1 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.02771, allocations: 1.018 MB / 1.114 GB, free: 10.99 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.02773, allocations: 4 kB / 1.114 GB, free: 10.98 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.0278, allocations: 40 kB / 1.114 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.02782, allocations: 31.98 kB / 1.114 GB, free: 10.91 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.02874, allocations: 0.6862 MB / 1.115 GB, free: 10.21 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.03332, allocations: 3.943 MB / 1.119 GB, free: 6.133 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.03486, allocations: 0.8153 MB / 1.119 GB, free: 5.289 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.03516, allocations: 238.5 kB / 1.12 GB, free: 5.035 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.03523, allocations: 28.42 kB / 1.12 GB, free: 5.008 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.03566, allocations: 436.5 kB / 1.12 GB, free: 4.535 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.734e-06/0.03566, allocations: 0 / 1.12 GB, free: 4.535 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002158/0.03782, allocations: 1.167 MB / 1.121 GB, free: 3.316 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.0379, allocations: 226.3 kB / 1.121 GB, free: 3.047 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.03844, allocations: 0.6789 MB / 1.122 GB, free: 2.355 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.03847, allocations: 41.64 kB / 1.122 GB, free: 2.309 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.03875, allocations: 0.5926 MB / 1.123 GB, free: 1.707 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.03888, allocations: 246 kB / 1.123 GB, free: 1.465 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.03909, allocations: 200.2 kB / 1.123 GB, free: 1.262 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.03927, allocations: 0.5586 MB / 1.124 GB, free: 0.6914 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.03954, allocations: 221.3 kB / 1.124 GB, free: 472 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.03995, allocations: 0.584 MB / 1.125 GB, free: 15.72 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.04061, allocations: 0.7937 MB / 1.125 GB, free: 14.77 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.04062, allocations: 0 / 1.125 GB, free: 14.77 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001357/0.04198, allocations: 0.968 MB / 1.126 GB, free: 13.76 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.04202, allocations: 63.41 kB / 1.126 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.04203, allocations: 8.031 kB / 1.126 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.04228, allocations: 91.61 kB / 1.126 GB, free: 13.58 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.04273, allocations: 227.6 kB / 1.127 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.04377, allocations: 1.975 MB / 1.129 GB, free: 11.26 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.04414, allocations: 99.28 kB / 1.129 GB, free: 11.16 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.04419, allocations: 43.98 kB / 1.129 GB, free: 11.12 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.0002418/0.04443, allocations: 294.4 kB / 1.129 GB, free: 10.81 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.04455, allocations: 111.5 kB / 1.129 GB, free: 10.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.04554, allocations: 0.8916 MB / 1.13 GB, free: 9.754 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.04555, allocations: 8 kB / 1.13 GB, free: 9.746 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.04555, allocations: 0 / 1.13 GB, free: 9.746 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.04556, allocations: 3.984 kB / 1.13 GB, free: 9.742 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.04756, allocations: 1.752 MB / 1.132 GB, free: 7.914 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.04756, allocations: 0 / 1.132 GB, free: 7.914 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.0478, allocations: 115.8 kB / 1.132 GB, free: 7.801 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003309/0.04813, allocations: 258.9 kB / 1.132 GB, free: 7.531 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.04817, allocations: 35.91 kB / 1.132 GB, free: 7.496 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.04895, allocations: 1.063 MB / 1.133 GB, free: 6.383 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.04895, allocations: 0 / 1.133 GB, free: 6.383 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.05031, allocations: 1.289 MB / 1.134 GB, free: 5.02 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.05053, allocations: 159.2 kB / 1.135 GB, free: 4.863 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.05061, allocations: 28 kB / 1.135 GB, free: 4.836 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.05086, allocations: 39.97 kB / 1.135 GB, free: 4.797 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.05093, allocations: 60.48 kB / 1.135 GB, free: 4.734 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.05098, allocations: 35.97 kB / 1.135 GB, free: 4.699 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.000333/0.05131, allocations: 435 kB / 1.135 GB, free: 4.277 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.05131, allocations: 0 / 1.135 GB, free: 4.277 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0006563/0.05197, allocations: 347 kB / 1.135 GB, free: 3.938 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.001335/0.0533, allocations: 0.722 MB / 1.136 GB, free: 3.457 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.05431, allocations: 0.9615 MB / 1.137 GB, free: 2.426 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.05431, allocations: 0 / 1.137 GB, free: 2.426 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.05474, allocations: 444.1 kB / 1.137 GB, free: 1.949 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.05526, allocations: 168 kB / 1.138 GB, free: 1.789 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.05749, allocations: 1.689 MB / 1.139 GB, free: 44 kB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.05763, allocations: 185 kB / 1.139 GB, free: 15.84 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.0579, allocations: 130.2 kB / 1.14 GB, free: 15.71 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.05807, allocations: 84.45 kB / 1.14 GB, free: 15.62 MB / 1.089 GB Notification: Performance of SimCode: time 7.72e-07/0.05807, allocations: 4 kB / 1.14 GB, free: 15.62 MB / 1.089 GB Notification: Performance of Templates: time 0.01503/0.0731, allocations: 12.57 MB / 1.152 GB, free: 3.199 MB / 1.089 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: 6.8952133799903095]