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.01735/0.01735, allocations: 4.224 MB / 24.01 MB, free: 460 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.000794/0.000794, allocations: 85.66 kB / 28.56 MB, free: 1.586 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.0008443/0.0008443, allocations: 171.3 kB / 33.22 MB, free: 3.133 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.8727/0.8727, allocations: 177.2 MB / 214.9 MB, free: 15.04 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.012/2.012, allocations: 438.1 MB / 0.6942 GB, free: 7.863 MB / 0.6511 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.007139/0.007139, allocations: 1.99 MB / 0.8921 GB, free: 14.29 MB / 0.8386 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.453e-06/1.453e-06, allocations: 0 / 1.105 GB, free: 4.07 MB / 1.042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.211e-05, allocations: 6.312 kB / 1.105 GB, free: 4.062 MB / 1.042 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005228/0.00524, allocations: 6.568 MB / 1.111 GB, free: 13.45 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.00893, allocations: 4.108 MB / 1.115 GB, free: 9.332 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.009228, allocations: 19.94 kB / 1.115 GB, free: 9.312 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.01054, allocations: 1.166 MB / 1.116 GB, free: 8.141 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.0008877/0.01142, allocations: 0.757 MB / 1.117 GB, free: 7.379 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.01231, allocations: 0.5453 MB / 1.118 GB, free: 6.84 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.01317, allocations: 1.448 MB / 1.119 GB, free: 5.383 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.01397, allocations: 0.9265 MB / 1.12 GB, free: 4.426 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.01462, allocations: 0.8418 MB / 1.121 GB, free: 3.582 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.01509, allocations: 0.5532 MB / 1.121 GB, free: 3.027 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.01522, allocations: 144 kB / 1.122 GB, free: 2.887 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.01569, allocations: 463.3 kB / 1.122 GB, free: 2.434 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.01587, allocations: 322.8 kB / 1.122 GB, free: 2.117 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.01618, allocations: 450.8 kB / 1.123 GB, free: 1.676 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.01727, allocations: 1.3 MB / 1.124 GB, free: 380 kB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.01727, allocations: 0 / 1.124 GB, free: 380 kB / 1.057 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01727, allocations: 0 / 1.124 GB, free: 380 kB / 1.057 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.01728, allocations: 0 / 1.124 GB, free: 380 kB / 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.001973/0.01925, allocations: 1.875 MB / 1.126 GB, free: 14.44 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.01929, allocations: 12.02 kB / 1.126 GB, free: 14.43 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.02042, allocations: 0.4958 MB / 1.126 GB, free: 13.93 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.0211, allocations: 0.6528 MB / 1.127 GB, free: 13.25 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.02114, allocations: 78.45 kB / 1.127 GB, free: 13.17 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.02124, allocations: 111.9 kB / 1.127 GB, free: 13.06 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.02216, allocations: 0.9479 MB / 1.128 GB, free: 12.02 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.02218, allocations: 7.938 kB / 1.128 GB, free: 12.01 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.02224, allocations: 48 kB / 1.128 GB, free: 11.96 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.02225, allocations: 24 kB / 1.128 GB, free: 11.94 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.02281, allocations: 0.5602 MB / 1.129 GB, free: 11.36 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.02621, allocations: 4.017 MB / 1.133 GB, free: 7.211 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.02712, allocations: 0.7709 MB / 1.133 GB, free: 6.41 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.02731, allocations: 210 kB / 1.134 GB, free: 6.188 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.02737, allocations: 40.41 kB / 1.134 GB, free: 6.148 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.02769, allocations: 420.4 kB / 1.134 GB, free: 5.688 MB / 1.073 GB Notification: Performance of pre-optimization done (n=69): time 1.443e-06/0.02769, allocations: 0 / 1.134 GB, free: 5.688 MB / 1.073 GB Notification: Performance of matching and sorting (n=69): time 0.001755/0.02944, allocations: 1.136 MB / 1.135 GB, free: 4.5 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.02952, allocations: 222.3 kB / 1.135 GB, free: 4.23 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.02994, allocations: 0.6707 MB / 1.136 GB, free: 3.547 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.02997, allocations: 41.7 kB / 1.136 GB, free: 3.5 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.03023, allocations: 0.5923 MB / 1.137 GB, free: 2.898 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.03035, allocations: 242 kB / 1.137 GB, free: 2.66 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.03052, allocations: 204.1 kB / 1.137 GB, free: 2.453 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.03068, allocations: 0.5818 MB / 1.138 GB, free: 1.859 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.03085, allocations: 181.3 kB / 1.138 GB, free: 1.668 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.03131, allocations: 0.5449 MB / 1.138 GB, free: 0.9688 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.0318, allocations: 0.7428 MB / 1.139 GB, free: 68 kB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.0318, allocations: 4 kB / 1.139 GB, free: 64 kB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008738/0.03267, allocations: 0.8938 MB / 1.14 GB, free: 15.13 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.03271, allocations: 67.41 kB / 1.14 GB, free: 15.05 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.03272, allocations: 11.98 kB / 1.14 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.03292, allocations: 83.61 kB / 1.14 GB, free: 14.96 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.03333, allocations: 227.6 kB / 1.14 GB, free: 14.73 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008661/0.0342, allocations: 1.964 MB / 1.142 GB, free: 12.66 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.0345, allocations: 99.34 kB / 1.142 GB, free: 12.56 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.03454, allocations: 44.14 kB / 1.142 GB, free: 12.52 MB / 1.089 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.000211/0.03475, allocations: 294.3 kB / 1.143 GB, free: 12.2 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.03485, allocations: 103.5 kB / 1.143 GB, free: 12.1 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.03564, allocations: 0.8447 MB / 1.144 GB, free: 11.21 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.03564, allocations: 8 kB / 1.144 GB, free: 11.2 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.03564, allocations: 0 / 1.144 GB, free: 11.2 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.03565, allocations: 3.984 kB / 1.144 GB, free: 11.2 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.03734, allocations: 1.612 MB / 1.145 GB, free: 9.512 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.03735, allocations: 0 / 1.145 GB, free: 9.512 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.03756, allocations: 111.9 kB / 1.145 GB, free: 9.402 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.03783, allocations: 286.8 kB / 1.146 GB, free: 9.105 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.03787, allocations: 35.91 kB / 1.146 GB, free: 9.07 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004763/0.03835, allocations: 1.067 MB / 1.147 GB, free: 7.953 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.03835, allocations: 8.031 kB / 1.147 GB, free: 7.945 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.03942, allocations: 1.218 MB / 1.148 GB, free: 6.652 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.03961, allocations: 163.2 kB / 1.148 GB, free: 6.492 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.03968, allocations: 27.94 kB / 1.148 GB, free: 6.465 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.03991, allocations: 43.97 kB / 1.148 GB, free: 6.422 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.03997, allocations: 52.56 kB / 1.148 GB, free: 6.371 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.04001, allocations: 27.97 kB / 1.148 GB, free: 6.344 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002282/0.04024, allocations: 406.8 kB / 1.148 GB, free: 5.949 MB / 1.089 GB Notification: Performance of sort global known variables: time 6e-08/0.04024, allocations: 0 / 1.148 GB, free: 5.949 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0005371/0.04077, allocations: 355 kB / 1.149 GB, free: 5.602 MB / 1.089 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.001167/0.04194, allocations: 0.7383 MB / 1.15 GB, free: 5.102 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.04264, allocations: 0.8962 MB / 1.15 GB, free: 4.129 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.04264, allocations: 192 / 1.15 GB, free: 4.129 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.04296, allocations: 426.7 kB / 1.151 GB, free: 3.676 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.04339, allocations: 171.3 kB / 1.151 GB, free: 3.516 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.04524, allocations: 1.67 MB / 1.153 GB, free: 1.785 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.04534, allocations: 188.9 kB / 1.153 GB, free: 1.582 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.04556, allocations: 130 kB / 1.153 GB, free: 1.453 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.04588, allocations: 254.1 kB / 1.153 GB, free: 1.203 MB / 1.089 GB Notification: Performance of SimCode: time 6.71e-07/0.04588, allocations: 0 / 1.153 GB, free: 1.203 MB / 1.089 GB Notification: Performance of Templates: time 0.0159/0.06179, allocations: 14.17 MB / 1.167 GB, free: 3.219 MB / 1.104 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: 6.864159272052348]