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.02385/0.02385, allocations: 4.209 MB / 24.79 MB, free: 5.164 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.0009453/0.0009453, allocations: 92.97 kB / 29.35 MB, free: 1.367 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.001183/0.001183, allocations: 160.6 kB / 34 MB, free: 2.914 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.9004/0.9004, allocations: 177.2 MB / 215.7 MB, free: 14.71 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.064/2.064, allocations: 429.5 MB / 0.6865 GB, free: 312 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.006939/0.006939, allocations: 1.979 MB / 0.8818 GB, free: 10.49 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.493e-06/1.493e-06, allocations: 0 / 1.092 GB, free: 2.996 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.932e-05, allocations: 5.125 kB / 1.092 GB, free: 2.992 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.008122/0.008141, allocations: 6.569 MB / 1.098 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.005743/0.01388, allocations: 4.089 MB / 1.102 GB, free: 8.273 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.01428, allocations: 23.88 kB / 1.102 GB, free: 8.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.01604, allocations: 1.174 MB / 1.103 GB, free: 7.07 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009344/0.01697, allocations: 0.7609 MB / 1.104 GB, free: 6.305 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.01782, allocations: 0.5285 MB / 1.105 GB, free: 5.781 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.01872, allocations: 1.459 MB / 1.106 GB, free: 4.316 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009702/0.01969, allocations: 0.9265 MB / 1.107 GB, free: 3.363 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.02033, allocations: 0.8457 MB / 1.108 GB, free: 2.516 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.02083, allocations: 0.5492 MB / 1.108 GB, free: 1.965 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.02096, allocations: 144 kB / 1.109 GB, free: 1.824 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.02146, allocations: 467.3 kB / 1.109 GB, free: 1.367 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.02164, allocations: 318.8 kB / 1.109 GB, free: 1.055 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.02217, allocations: 454.8 kB / 1.11 GB, free: 0.6094 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.02323, allocations: 1.296 MB / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.02323, allocations: 0 / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of FrontEnd: time 9.42e-07/0.02323, allocations: 0 / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.02324, allocations: 0 / 1.111 GB, free: 15.3 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.002081/0.02532, allocations: 1.871 MB / 1.113 GB, free: 13.38 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.02535, allocations: 8.031 kB / 1.113 GB, free: 13.37 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.0265, allocations: 0.5074 MB / 1.113 GB, free: 12.86 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.0272, allocations: 0.6526 MB / 1.114 GB, free: 12.18 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.02725, allocations: 82.45 kB / 1.114 GB, free: 12.1 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.02735, allocations: 107.9 kB / 1.114 GB, free: 11.99 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.02822, allocations: 0.9518 MB / 1.115 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.02825, allocations: 3.953 kB / 1.115 GB, free: 10.94 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.02831, allocations: 44 kB / 1.115 GB, free: 10.9 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.02832, allocations: 24 kB / 1.115 GB, free: 10.88 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.02891, allocations: 0.5515 MB / 1.116 GB, free: 10.31 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.0323, allocations: 4.021 MB / 1.12 GB, free: 6.156 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.03337, allocations: 0.7731 MB / 1.12 GB, free: 5.359 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.03357, allocations: 221.3 kB / 1.121 GB, free: 5.125 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.03361, allocations: 28.42 kB / 1.121 GB, free: 5.098 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.03394, allocations: 416.4 kB / 1.121 GB, free: 4.645 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.663e-06/0.03394, allocations: 0 / 1.121 GB, free: 4.645 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.001816/0.03576, allocations: 1.14 MB / 1.122 GB, free: 3.449 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.03583, allocations: 222.3 kB / 1.122 GB, free: 3.184 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.03625, allocations: 0.6629 MB / 1.123 GB, free: 2.504 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.03629, allocations: 49.81 kB / 1.123 GB, free: 2.449 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.03677, allocations: 0.6001 MB / 1.124 GB, free: 1.84 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.03689, allocations: 242 kB / 1.124 GB, free: 1.602 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.03707, allocations: 208 kB / 1.124 GB, free: 1.391 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.03722, allocations: 0.5663 MB / 1.125 GB, free: 0.8125 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.0374, allocations: 185.3 kB / 1.125 GB, free: 0.6172 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.03777, allocations: 0.5449 MB / 1.125 GB, free: 15.91 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.03827, allocations: 0.7389 MB / 1.126 GB, free: 15.02 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.03827, allocations: 4 kB / 1.126 GB, free: 15.01 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0009043/0.03918, allocations: 0.8931 MB / 1.127 GB, free: 14.08 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.03921, allocations: 63.41 kB / 1.127 GB, free: 14 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.03922, allocations: 4.719 kB / 1.127 GB, free: 14 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.03944, allocations: 95.55 kB / 1.127 GB, free: 13.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.03987, allocations: 223.6 kB / 1.127 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009141/0.04078, allocations: 1.964 MB / 1.129 GB, free: 11.61 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.04109, allocations: 107.3 kB / 1.129 GB, free: 11.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.04114, allocations: 39.97 kB / 1.129 GB, free: 11.46 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.0002206/0.04136, allocations: 286.3 kB / 1.13 GB, free: 11.16 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.04147, allocations: 115.5 kB / 1.13 GB, free: 11.04 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.04254, allocations: 0.8446 MB / 1.131 GB, free: 10.15 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.04254, allocations: 8 kB / 1.131 GB, free: 10.14 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.04254, allocations: 4 kB / 1.131 GB, free: 10.14 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.04255, allocations: 3.984 kB / 1.131 GB, free: 10.13 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.04413, allocations: 1.588 MB / 1.132 GB, free: 8.469 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.04414, allocations: 4 kB / 1.132 GB, free: 8.465 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.04436, allocations: 115.8 kB / 1.132 GB, free: 8.352 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.04465, allocations: 290.8 kB / 1.132 GB, free: 8.051 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.04469, allocations: 31.97 kB / 1.133 GB, free: 8.02 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/0.04519, allocations: 1.066 MB / 1.134 GB, free: 6.902 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.04519, allocations: 0 / 1.134 GB, free: 6.902 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.0463, allocations: 1.218 MB / 1.135 GB, free: 5.613 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.04649, allocations: 167.2 kB / 1.135 GB, free: 5.449 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.04657, allocations: 23.94 kB / 1.135 GB, free: 5.426 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.04681, allocations: 39.97 kB / 1.135 GB, free: 5.387 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.04687, allocations: 52.56 kB / 1.135 GB, free: 5.332 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.04691, allocations: 31.97 kB / 1.135 GB, free: 5.301 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0002445/0.04715, allocations: 406.8 kB / 1.135 GB, free: 4.906 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.04715, allocations: 0 / 1.135 GB, free: 4.906 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005395/0.04769, allocations: 363 kB / 1.136 GB, free: 4.551 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.001268/0.04896, allocations: 0.7212 MB / 1.136 GB, free: 4.066 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0009819/0.04994, allocations: 0.908 MB / 1.137 GB, free: 3.09 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.04994, allocations: 0 / 1.137 GB, free: 3.09 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.05027, allocations: 422.7 kB / 1.138 GB, free: 2.637 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.05073, allocations: 171 kB / 1.138 GB, free: 2.473 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.05246, allocations: 1.667 MB / 1.14 GB, free: 0.75 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.05258, allocations: 188.9 kB / 1.14 GB, free: 0.543 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.05281, allocations: 118 kB / 1.14 GB, free: 436 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.05313, allocations: 258.1 kB / 1.14 GB, free: 176 kB / 1.073 GB Notification: Performance of SimCode: time 6.81e-07/0.05313, allocations: 0 / 1.14 GB, free: 176 kB / 1.073 GB Notification: Performance of Templates: time 0.01581/0.06895, allocations: 14.47 MB / 1.154 GB, free: 1.867 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.776106913108379]