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.02355/0.02355, allocations: 4.216 MB / 24.8 MB, free: 4.973 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.001029/0.001029, allocations: 100.6 kB / 29.35 MB, free: 1.379 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.001279/0.001279, allocations: 164.3 kB / 34 MB, free: 2.93 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.8539/0.8539, allocations: 177.2 MB / 215.7 MB, free: 14.68 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.044/2.044, allocations: 429.5 MB / 0.6865 GB, free: 300 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.982 MB / 0.8818 GB, free: 10.48 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.312e-06/1.312e-06, allocations: 0 / 1.092 GB, free: 2.992 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.559e-05, allocations: 9.062 kB / 1.092 GB, free: 2.984 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006492/0.006508, allocations: 6.57 MB / 1.098 GB, free: 12.37 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.01016, allocations: 4.093 MB / 1.102 GB, free: 8.262 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.01044, allocations: 27.88 kB / 1.102 GB, free: 8.234 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.01193, allocations: 1.158 MB / 1.103 GB, free: 7.07 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008728/0.01281, allocations: 0.7686 MB / 1.104 GB, free: 6.297 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.01357, allocations: 0.5323 MB / 1.105 GB, free: 5.773 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.0144, allocations: 1.455 MB / 1.106 GB, free: 4.312 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.01515, allocations: 0.9303 MB / 1.107 GB, free: 3.355 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.01574, allocations: 0.8457 MB / 1.108 GB, free: 2.508 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.0162, allocations: 0.557 MB / 1.108 GB, free: 1.949 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.01632, allocations: 144 kB / 1.109 GB, free: 1.809 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.01675, allocations: 463.3 kB / 1.109 GB, free: 1.355 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.01692, allocations: 322.8 kB / 1.109 GB, free: 1.039 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.01719, allocations: 446.8 kB / 1.11 GB, free: 0.6016 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009959/0.01818, allocations: 1.296 MB / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01819, allocations: 4 kB / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01819, allocations: 0 / 1.111 GB, free: 15.3 MB / 1.057 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.01819, 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.001926/0.02012, allocations: 1.863 MB / 1.113 GB, free: 13.38 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.02014, allocations: 16.02 kB / 1.113 GB, free: 13.36 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.02126, allocations: 0.4996 MB / 1.113 GB, free: 12.86 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.02193, allocations: 0.6526 MB / 1.114 GB, free: 12.18 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.02197, allocations: 78.45 kB / 1.114 GB, free: 12.1 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.02207, allocations: 111.9 kB / 1.114 GB, free: 11.99 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.02291, allocations: 0.9479 MB / 1.115 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.02293, allocations: 3.953 kB / 1.115 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.02299, allocations: 55.94 kB / 1.115 GB, free: 10.89 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.023, allocations: 24 kB / 1.115 GB, free: 10.87 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.02358, allocations: 0.5554 MB / 1.116 GB, free: 10.3 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.02715, allocations: 4.017 MB / 1.12 GB, free: 6.145 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.0281, allocations: 0.7721 MB / 1.12 GB, free: 5.344 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.02831, allocations: 212.4 kB / 1.121 GB, free: 5.113 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.02836, allocations: 32.42 kB / 1.121 GB, free: 5.082 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.02869, allocations: 416.4 kB / 1.121 GB, free: 4.629 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 1.413e-06/0.02869, allocations: 0 / 1.121 GB, free: 4.629 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.001784/0.03047, allocations: 1.132 MB / 1.122 GB, free: 3.441 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.03054, allocations: 230.2 kB / 1.122 GB, free: 3.168 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.03096, allocations: 0.6746 MB / 1.123 GB, free: 2.477 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.031, allocations: 37.7 kB / 1.123 GB, free: 2.434 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.03126, allocations: 0.5962 MB / 1.124 GB, free: 1.828 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.03138, allocations: 242 kB / 1.124 GB, free: 1.59 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.03157, allocations: 204.1 kB / 1.124 GB, free: 1.383 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.03173, allocations: 0.5702 MB / 1.125 GB, free: 0.8008 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.0319, allocations: 185.3 kB / 1.125 GB, free: 0.6055 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.03222, allocations: 0.5449 MB / 1.125 GB, free: 15.9 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.03273, allocations: 0.7467 MB / 1.126 GB, free: 15 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.03273, allocations: 0 / 1.126 GB, free: 15 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008779/0.03361, allocations: 0.8861 MB / 1.127 GB, free: 14.07 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.03364, allocations: 75.42 kB / 1.127 GB, free: 13.98 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.03365, allocations: 8 kB / 1.127 GB, free: 13.98 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.03385, allocations: 87.55 kB / 1.127 GB, free: 13.89 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.03427, allocations: 219.7 kB / 1.127 GB, free: 13.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.03516, allocations: 1.964 MB / 1.129 GB, free: 11.59 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.03546, allocations: 99.34 kB / 1.129 GB, free: 11.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.03551, 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.0002104/0.03572, allocations: 294.4 kB / 1.13 GB, free: 11.14 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.03583, allocations: 111.4 kB / 1.13 GB, free: 11.04 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.03662, allocations: 0.8407 MB / 1.131 GB, free: 10.14 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.03663, allocations: 12 kB / 1.131 GB, free: 10.13 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03663, allocations: 3.984 kB / 1.131 GB, free: 10.13 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.03664, allocations: 7.984 kB / 1.131 GB, free: 10.12 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.0382, allocations: 1.6 MB / 1.132 GB, free: 8.445 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0382, allocations: 0 / 1.132 GB, free: 8.445 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.03842, allocations: 111.8 kB / 1.132 GB, free: 8.336 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.0387, allocations: 286.8 kB / 1.132 GB, free: 8.039 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.03874, allocations: 31.97 kB / 1.133 GB, free: 8.008 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/0.03923, allocations: 1.062 MB / 1.134 GB, free: 6.895 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.03923, allocations: 8.031 kB / 1.134 GB, free: 6.887 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.04032, allocations: 1.206 MB / 1.135 GB, free: 5.609 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.0405, allocations: 159.2 kB / 1.135 GB, free: 5.453 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.04058, allocations: 27.94 kB / 1.135 GB, free: 5.426 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.04081, allocations: 43.97 kB / 1.135 GB, free: 5.383 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.04087, allocations: 48.56 kB / 1.135 GB, free: 5.332 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.04091, allocations: 32.02 kB / 1.135 GB, free: 5.301 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0002398/0.04115, allocations: 414.8 kB / 1.135 GB, free: 4.898 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.04115, allocations: 0 / 1.135 GB, free: 4.898 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007363/0.04188, allocations: 359 kB / 1.136 GB, free: 4.547 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.001256/0.04314, allocations: 0.7255 MB / 1.136 GB, free: 4.059 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.04385, allocations: 0.9001 MB / 1.137 GB, free: 3.09 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04386, allocations: 0 / 1.137 GB, free: 3.09 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.04419, allocations: 430.8 kB / 1.138 GB, free: 2.629 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.04461, allocations: 170.4 kB / 1.138 GB, free: 2.469 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.04632, allocations: 1.671 MB / 1.14 GB, free: 0.7422 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.04643, allocations: 189 kB / 1.14 GB, free: 0.5352 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.04665, allocations: 126 kB / 1.14 GB, free: 420 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.04697, allocations: 258 kB / 1.14 GB, free: 160 kB / 1.073 GB Notification: Performance of SimCode: time 6.21e-07/0.04697, allocations: 0 / 1.14 GB, free: 160 kB / 1.073 GB Notification: Performance of Templates: time 0.01518/0.06214, allocations: 14.45 MB / 1.154 GB, free: 1.863 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: 6.661583369597793]