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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 102.1 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02404/0.02404, allocations: 5.392 MB / 345.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008084/0.008084, allocations: 2.317 MB / 399 MB, free: 68.83 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.88 kB / 462.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 51.21 MB / 0.5016 GB, free: 40.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005657/0.1942, allocations: 6.816 MB / 0.5082 GB, free: 34.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.1981, allocations: 3.9 MB / 0.512 GB, free: 30.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.1985, allocations: 20 kB / 0.5121 GB, free: 30.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2003, allocations: 1.084 MB / 0.5131 GB, free: 29.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.2016, allocations: 0.7731 MB / 0.5139 GB, free: 28.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2028, allocations: 0.4924 MB / 0.5144 GB, free: 28.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.2036, allocations: 1.319 MB / 0.5156 GB, free: 26.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.2045, allocations: 0.8552 MB / 0.5165 GB, free: 25.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.2048, allocations: 0.5018 MB / 0.517 GB, free: 25.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.2053, allocations: 0.6535 MB / 0.5176 GB, free: 24.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2055, allocations: 84 kB / 0.5177 GB, free: 24.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.206, allocations: 371.7 kB / 0.518 GB, free: 24.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.2061, allocations: 266.8 kB / 0.5183 GB, free: 24.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.2065, allocations: 0.5828 MB / 0.5189 GB, free: 23.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2075, allocations: 1.709 MB / 0.5205 GB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2075, allocations: 4 kB / 0.5205 GB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2075, allocations: 0 / 0.5205 GB, free: 21.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2075, allocations: 0 / 0.5205 GB, free: 21.77 MB / 314.7 MB 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.0031/0.2106, allocations: 1.814 MB / 0.5223 GB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2107, allocations: 12.81 kB / 0.5223 GB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.2125, allocations: 375.1 kB / 0.5227 GB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.2139, allocations: 0.8282 MB / 0.5235 GB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.2139, allocations: 78.08 kB / 0.5236 GB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.214, allocations: 108 kB / 0.5237 GB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.2155, allocations: 1.165 MB / 0.5248 GB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.2156, allocations: 4 kB / 0.5248 GB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.2157, allocations: 55.91 kB / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2157, allocations: 24 kB / 0.5249 GB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.2173, allocations: 1.062 MB / 0.5259 GB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.2218, allocations: 4.376 MB / 0.5302 GB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.2238, allocations: 1.75 MB / 0.5319 GB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.2244, allocations: 323.3 kB / 0.5322 GB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.2244, allocations: 105.6 kB / 0.5323 GB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/0.2251, allocations: 461.7 kB / 0.5327 GB, free: 8.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 1.963e-06/0.2251, allocations: 0 / 0.5327 GB, free: 8.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.004909/0.23, allocations: 1.592 MB / 0.5343 GB, free: 7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.2301, allocations: 226.2 kB / 0.5345 GB, free: 6.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.2306, allocations: 0.6485 MB / 0.5352 GB, free: 6.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.2307, allocations: 45.7 kB / 0.5352 GB, free: 6.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2309, allocations: 0.518 MB / 0.5357 GB, free: 5.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.231, allocations: 228.8 kB / 0.5359 GB, free: 5.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2312, allocations: 186.5 kB / 0.5361 GB, free: 5.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.2313, allocations: 390.7 kB / 0.5365 GB, free: 4.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.2318, allocations: 297.8 kB / 0.5368 GB, free: 4.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.2324, allocations: 0.5387 MB / 0.5373 GB, free: 3.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2335, allocations: 0.936 MB / 0.5382 GB, free: 2.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2336, allocations: 4 kB / 0.5382 GB, free: 2.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001725/0.2353, allocations: 1.114 MB / 0.5393 GB, free: 1.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2353, allocations: 59.41 kB / 0.5393 GB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2353, allocations: 8 kB / 0.5394 GB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.2358, allocations: 93.05 kB / 0.5394 GB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.2365, allocations: 231.5 kB / 0.5397 GB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2376, allocations: 1.463 MB / 0.5411 GB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.2382, allocations: 115.1 kB / 0.5412 GB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.2383, allocations: 55.91 kB / 0.5413 GB, free: 15.38 MB / 330.7 MB 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.0003418/0.2387, allocations: 335.2 kB / 0.5416 GB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.2388, allocations: 83 kB / 0.5417 GB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.2407, allocations: 1.011 MB / 0.5426 GB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.2407, allocations: 8 kB / 0.5426 GB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.2407, allocations: 0 / 0.5426 GB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2407, allocations: 3.984 kB / 0.5426 GB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.2462, allocations: 2.317 MB / 0.5449 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2462, allocations: 4 kB / 0.5449 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.2466, allocations: 95.89 kB / 0.545 GB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/0.2473, allocations: 330.2 kB / 0.5453 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.2474, allocations: 31.97 kB / 0.5454 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.2485, allocations: 0.8819 MB / 0.5462 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.2485, allocations: 7.969 kB / 0.5462 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.2591, allocations: 5.199 MB / 0.5513 GB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2594, allocations: 224 kB / 0.5515 GB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2595, allocations: 27.92 kB / 0.5515 GB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.26, allocations: 51.97 kB / 0.5516 GB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.2601, allocations: 40.5 kB / 0.5516 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.2602, allocations: 27.98 kB / 0.5517 GB, free: 4.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004768/0.2606, allocations: 459 kB / 0.5521 GB, free: 3.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2606, allocations: 0 / 0.5521 GB, free: 3.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009719/0.2616, allocations: 391 kB / 0.5525 GB, free: 3.512 MB / 330.7 MB 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 (60): * Single equations (assignments): 56 * 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.001197/0.2628, allocations: 0.6683 MB / 0.5531 GB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.2644, allocations: 0.9921 MB / 0.5541 GB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2645, allocations: 0 / 0.5541 GB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.2652, allocations: 0.49 MB / 0.5546 GB, free: 1.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.266, allocations: 143.3 kB / 0.5547 GB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.269, allocations: 2.647 MB / 0.5573 GB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.2695, allocations: 1.034 MB / 0.5583 GB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.27, allocations: 138.4 kB / 0.5584 GB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.2702, allocations: 91.38 kB / 0.5585 GB, free: 13.39 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2703, allocations: 0 / 0.5585 GB, free: 13.39 MB / 346.7 MB Notification: Performance of Templates: time 0.01881/0.2891, allocations: 13.52 MB / 0.5717 GB, free: 15.97 MB / 362.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (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=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)