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.03065/0.03065, allocations: 4.23 MB / 23.58 MB, free: 0.8086 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.00131/0.00131, allocations: 87.2 kB / 28.04 MB, free: 2.008 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.001606/0.001606, allocations: 160.2 kB / 32.6 MB, free: 3.656 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.439/1.439, allocations: 177.2 MB / 214.2 MB, free: 15.18 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.273/3.273, allocations: 429.5 MB / 0.685 GB, free: 312 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.01137/0.01137, allocations: 1.972 MB / 0.8803 GB, free: 10.97 MB / 0.7761 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.703e-06/1.703e-06, allocations: 0 / 1.09 GB, free: 4.094 MB / 0.9792 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.705e-05, allocations: 4.703 kB / 1.09 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.009466/0.009493, allocations: 6.161 MB / 1.096 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007682/0.01718, allocations: 3.984 MB / 1.1 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.01808, allocations: 27.94 kB / 1.1 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.02118, allocations: 1.115 MB / 1.101 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.02363, allocations: 0.757 MB / 1.102 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.02537, allocations: 0.526 MB / 1.102 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.02729, allocations: 1.463 MB / 1.104 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.02876, allocations: 0.9303 MB / 1.104 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.02992, allocations: 0.8263 MB / 1.105 GB, free: 4.207 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.03079, allocations: 0.5336 MB / 1.106 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.03101, allocations: 148 kB / 1.106 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009589/0.03197, allocations: 475.3 kB / 1.106 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.03231, allocations: 326.7 kB / 1.107 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.03287, allocations: 446.8 kB / 1.107 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.03573, allocations: 1.92 MB / 1.109 GB, free: 388 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.03574, allocations: 0 / 1.109 GB, free: 388 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.03574, allocations: 0 / 1.109 GB, free: 388 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.03575, allocations: 4 kB / 1.109 GB, free: 384 kB / 0.9948 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.004631/0.04038, allocations: 1.771 MB / 1.111 GB, free: 14.55 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.04042, allocations: 8.031 kB / 1.111 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.04286, allocations: 0.4996 MB / 1.111 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.04502, allocations: 0.7669 MB / 1.112 GB, free: 13.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.04512, allocations: 82.39 kB / 1.112 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.04533, allocations: 115.9 kB / 1.112 GB, free: 13.05 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.04789, allocations: 1.264 MB / 1.113 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.04792, allocations: 7.953 kB / 1.113 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.04805, allocations: 47.94 kB / 1.113 GB, free: 11.65 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.04808, allocations: 28 kB / 1.113 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.05059, allocations: 1.155 MB / 1.115 GB, free: 10.46 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007318/0.05791, allocations: 3.688 MB / 1.118 GB, free: 6.645 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.06067, allocations: 0.9276 MB / 1.119 GB, free: 5.695 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.06148, allocations: 352.7 kB / 1.119 GB, free: 5.332 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.06158, allocations: 28.42 kB / 1.119 GB, free: 5.305 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.06264, allocations: 0.5284 MB / 1.12 GB, free: 4.734 MB / 1.01 GB Notification: Performance of pre-optimization done (n=69): time 2.334e-06/0.06265, allocations: 0 / 1.12 GB, free: 4.734 MB / 1.01 GB Notification: Performance of matching and sorting (n=69): time 0.00637/0.06902, allocations: 1.652 MB / 1.122 GB, free: 3.027 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003778/0.06939, allocations: 218.3 kB / 1.122 GB, free: 2.766 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.0705, allocations: 0.707 MB / 1.123 GB, free: 2.051 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/0.07058, allocations: 41.7 kB / 1.123 GB, free: 2.004 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/0.07111, allocations: 0.535 MB / 1.123 GB, free: 1.461 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.07138, allocations: 246 kB / 1.123 GB, free: 1.219 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.07172, allocations: 186.5 kB / 1.123 GB, free: 1.031 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.07198, allocations: 386.8 kB / 1.124 GB, free: 0.6445 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.0728, allocations: 365.2 kB / 1.124 GB, free: 280 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.07391, allocations: 0.6256 MB / 1.125 GB, free: 15.53 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.07577, allocations: 0.963 MB / 1.126 GB, free: 14.45 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.07578, allocations: 0 / 1.126 GB, free: 14.45 MB / 1.026 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002876/0.07865, allocations: 1.25 MB / 1.127 GB, free: 13.16 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.07872, allocations: 60.97 kB / 1.127 GB, free: 13.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.07874, allocations: 8 kB / 1.127 GB, free: 13.08 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.07927, allocations: 89.06 kB / 1.127 GB, free: 12.99 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.08025, allocations: 227.6 kB / 1.127 GB, free: 12.77 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.08232, allocations: 1.455 MB / 1.129 GB, free: 11.21 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.08315, allocations: 103.3 kB / 1.129 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/0.08324, allocations: 47.97 kB / 1.129 GB, free: 11.06 MB / 1.026 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.0005754/0.08382, allocations: 343.5 kB / 1.129 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.08405, allocations: 111.6 kB / 1.129 GB, free: 10.6 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.08673, allocations: 1.166 MB / 1.13 GB, free: 9.379 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.08674, allocations: 8 kB / 1.131 GB, free: 9.371 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.08674, allocations: 4 kB / 1.131 GB, free: 9.367 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.08676, allocations: 3.984 kB / 1.131 GB, free: 9.363 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.09125, allocations: 1.973 MB / 1.132 GB, free: 7.32 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.09125, allocations: 0 / 1.132 GB, free: 7.32 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.09172, allocations: 111.8 kB / 1.133 GB, free: 7.211 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009796/0.09269, allocations: 364 kB / 1.133 GB, free: 6.84 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.09278, allocations: 31.91 kB / 1.133 GB, free: 6.809 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.09448, allocations: 0.9672 MB / 1.134 GB, free: 5.797 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.09448, allocations: 0 / 1.134 GB, free: 5.797 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.0987, allocations: 1.709 MB / 1.136 GB, free: 4.023 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.0991, allocations: 159.2 kB / 1.136 GB, free: 3.867 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.09923, allocations: 24 kB / 1.136 GB, free: 3.844 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.09984, allocations: 47.97 kB / 1.136 GB, free: 3.797 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.09997, allocations: 52.5 kB / 1.136 GB, free: 3.742 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.1, allocations: 35.97 kB / 1.136 GB, free: 3.707 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000719/0.1008, allocations: 483 kB / 1.136 GB, free: 3.238 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1008, allocations: 0 / 1.136 GB, free: 3.238 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001104/0.1019, allocations: 351 kB / 1.137 GB, free: 2.895 MB / 1.026 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.002916/0.1048, allocations: 0.7604 MB / 1.137 GB, free: 2.406 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.1072, allocations: 1.107 MB / 1.138 GB, free: 1.238 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1072, allocations: 0 / 1.138 GB, free: 1.238 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1082, allocations: 0.5095 MB / 1.139 GB, free: 0.6914 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.1091, allocations: 178.7 kB / 1.139 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.1127, allocations: 1.842 MB / 1.141 GB, free: 14.63 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.1133, allocations: 440.2 kB / 1.141 GB, free: 14.16 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004648/0.1137, allocations: 130.3 kB / 1.141 GB, free: 14.04 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.114, allocations: 88.44 kB / 1.142 GB, free: 13.95 MB / 1.042 GB Notification: Performance of SimCode: time 6.51e-07/0.114, allocations: 0 / 1.142 GB, free: 13.95 MB / 1.042 GB Notification: Performance of Templates: time 0.02504/0.139, allocations: 12.51 MB / 1.154 GB, free: 1.578 MB / 1.042 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=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.104693950037472]