Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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.02429/0.02429, allocations: 4.231 MB / 24.33 MB, free: 188 kB / 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.001187/0.001187, allocations: 76.56 kB / 28.77 MB, free: 1.918 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.001444/0.001444, allocations: 160.1 kB / 33.33 MB, free: 3.574 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.8464/0.8464, allocations: 177.2 MB / 214.9 MB, free: 15.16 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.965/1.965, allocations: 429.5 MB / 0.6856 GB, free: 436 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.00721/0.00721, allocations: 1.979 MB / 0.8808 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.09 GB, free: 3.762 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.524e-05, allocations: 6.25 kB / 1.09 GB, free: 3.754 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.008579/0.008605, allocations: 6.635 MB / 1.097 GB, free: 13.08 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.005499/0.0141, allocations: 4.1 MB / 1.101 GB, free: 8.965 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.0145, allocations: 19.94 kB / 1.101 GB, free: 8.945 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.01603, allocations: 1.189 MB / 1.102 GB, free: 7.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.01727, allocations: 0.7609 MB / 1.103 GB, free: 6.984 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.0182, allocations: 0.5226 MB / 1.103 GB, free: 6.469 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01928, allocations: 1.455 MB / 1.105 GB, free: 5.008 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009392/0.02022, allocations: 0.9303 MB / 1.106 GB, free: 4.051 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.02086, allocations: 0.8379 MB / 1.106 GB, free: 3.211 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.02135, allocations: 0.559 MB / 1.107 GB, free: 2.652 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.02148, allocations: 148 kB / 1.107 GB, free: 2.508 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007982/0.02228, allocations: 463.4 kB / 1.108 GB, free: 2.055 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.02247, allocations: 330.8 kB / 1.108 GB, free: 1.73 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.02277, allocations: 454.8 kB / 1.108 GB, free: 1.285 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.02397, allocations: 1.312 MB / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.02397, allocations: 0 / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of FrontEnd: time 8.82e-07/0.02397, allocations: 0 / 1.11 GB, free: 15.96 MB / 1.057 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.02398, allocations: 0 / 1.11 GB, free: 15.96 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.002261/0.02624, allocations: 1.863 MB / 1.111 GB, free: 14.05 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02628, allocations: 8.031 kB / 1.111 GB, free: 14.04 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.02761, allocations: 0.5036 MB / 1.112 GB, free: 13.54 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.02852, allocations: 0.7345 MB / 1.113 GB, free: 12.77 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.02857, allocations: 78.45 kB / 1.113 GB, free: 12.69 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.02868, allocations: 111.9 kB / 1.113 GB, free: 12.58 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.02981, allocations: 1.022 MB / 1.114 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.02984, allocations: 0 / 1.114 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.0299, allocations: 44 kB / 1.114 GB, free: 11.42 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.02992, allocations: 24 kB / 1.114 GB, free: 11.4 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009283/0.03085, allocations: 0.69 MB / 1.115 GB, free: 10.7 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.03449, allocations: 3.936 MB / 1.118 GB, free: 6.625 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.03561, allocations: 0.8192 MB / 1.119 GB, free: 5.777 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.03589, allocations: 240.5 kB / 1.119 GB, free: 5.52 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.03594, allocations: 24.42 kB / 1.119 GB, free: 5.496 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.03634, allocations: 436.5 kB / 1.12 GB, free: 5.027 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.673e-06/0.03634, allocations: 0 / 1.12 GB, free: 5.027 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002073/0.03841, allocations: 1.167 MB / 1.121 GB, free: 3.805 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002928/0.0387, allocations: 230.4 kB / 1.121 GB, free: 3.531 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.03922, allocations: 0.6788 MB / 1.122 GB, free: 2.836 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.03926, allocations: 41.69 kB / 1.122 GB, free: 2.789 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.03952, allocations: 0.5924 MB / 1.123 GB, free: 2.188 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.03964, allocations: 238.1 kB / 1.123 GB, free: 1.953 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.03983, allocations: 200.2 kB / 1.123 GB, free: 1.75 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.03998, allocations: 0.5664 MB / 1.124 GB, free: 1.172 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.04024, allocations: 217.3 kB / 1.124 GB, free: 0.9453 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.04065, allocations: 0.5801 MB / 1.124 GB, free: 216 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.04132, allocations: 0.7976 MB / 1.125 GB, free: 15.25 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.04132, allocations: 4 kB / 1.125 GB, free: 15.25 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001075/0.0424, allocations: 0.9758 MB / 1.126 GB, free: 14.23 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.04243, allocations: 59.41 kB / 1.126 GB, free: 14.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.04244, allocations: 8 kB / 1.126 GB, free: 14.15 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.04267, allocations: 87.61 kB / 1.126 GB, free: 14.06 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.0431, allocations: 215.7 kB / 1.126 GB, free: 13.85 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.04423, allocations: 1.975 MB / 1.128 GB, free: 11.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.04454, allocations: 103.4 kB / 1.128 GB, free: 11.65 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.04459, allocations: 55.97 kB / 1.128 GB, free: 11.6 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.0002221/0.04481, allocations: 278.3 kB / 1.129 GB, free: 11.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.04492, allocations: 111.4 kB / 1.129 GB, free: 11.2 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009511/0.04588, allocations: 0.8955 MB / 1.13 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.04588, allocations: 8 kB / 1.13 GB, free: 10.24 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.04588, allocations: 0 / 1.13 GB, free: 10.24 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.04589, allocations: 3.984 kB / 1.13 GB, free: 10.23 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.04774, allocations: 1.764 MB / 1.131 GB, free: 8.391 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.04774, allocations: 4 kB / 1.131 GB, free: 8.387 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.04796, allocations: 103.9 kB / 1.132 GB, free: 8.285 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.04827, allocations: 266.8 kB / 1.132 GB, free: 8.008 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.04831, allocations: 31.91 kB / 1.132 GB, free: 7.977 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000523/0.04883, allocations: 1.063 MB / 1.133 GB, free: 6.863 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.04883, allocations: 0 / 1.133 GB, free: 6.863 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.05015, allocations: 1.289 MB / 1.134 GB, free: 5.504 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.05035, allocations: 163.2 kB / 1.134 GB, free: 5.344 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.05042, allocations: 23.94 kB / 1.134 GB, free: 5.32 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.05066, allocations: 48.03 kB / 1.134 GB, free: 5.273 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.05074, allocations: 48.52 kB / 1.134 GB, free: 5.223 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.05078, allocations: 31.97 kB / 1.134 GB, free: 5.191 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003522/0.05113, allocations: 434.9 kB / 1.135 GB, free: 4.77 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.05113, allocations: 0 / 1.135 GB, free: 4.77 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005833/0.05171, allocations: 351 kB / 1.135 GB, free: 4.426 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.001264/0.05298, allocations: 0.7159 MB / 1.136 GB, free: 3.949 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.0539, allocations: 0.9623 MB / 1.137 GB, free: 2.914 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.0539, allocations: 0 / 1.137 GB, free: 2.914 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.05431, allocations: 451.3 kB / 1.137 GB, free: 2.43 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.05478, allocations: 168.6 kB / 1.137 GB, free: 2.27 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.05681, allocations: 1.696 MB / 1.139 GB, free: 0.5195 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.05693, allocations: 189 kB / 1.139 GB, free: 316 kB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.05719, allocations: 130.2 kB / 1.139 GB, free: 184 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.05735, allocations: 84.45 kB / 1.139 GB, free: 100 kB / 1.073 GB Notification: Performance of SimCode: time 8.11e-07/0.05735, allocations: 0 / 1.139 GB, free: 100 kB / 1.073 GB Notification: Performance of Templates: time 0.01443/0.07178, allocations: 12.56 MB / 1.152 GB, free: 3.68 MB / 1.089 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.406061799963936]